Page MenuHomeFreeBSD

D10399.id27445.diff
No OneTemporary

D10399.id27445.diff

Index: share/mk/src.opts.mk
===================================================================
--- share/mk/src.opts.mk
+++ share/mk/src.opts.mk
@@ -41,7 +41,7 @@
# that haven't been converted over.
#
-# These options are used by src the builds
+# These options are used by the src builds
__DEFAULT_YES_OPTIONS = \
ACCT \
@@ -96,7 +96,6 @@
FTP \
GAMES \
GCOV \
- GDB \
GNU \
GNU_DIFF \
GNU_GREP \
@@ -182,6 +181,7 @@
BSD_GREP \
CLANG_EXTRAS \
DTRACE_TESTS \
+ GDB \
HESIOD \
LIBSOFT \
NAND \
@@ -263,6 +263,14 @@
.if ${__T} == "arm" || ${__T} == "armeb"
BROKEN_OPTIONS+=LLDB
.endif
+# GDB in base is generally less functional than GDB in ports. Ports GDB
+# does not yet contain kernel support for arm, and sparc64 kernel support
+# has not been tested.
+.if ${__T:Marm*} != "" || ${__T} == "sparc64"
+__DEFAULT_YES_OPTIONS+=GDB
+.else
+__DEFAULT_NO_OPTIONS+=GDB
+.endif
# Only doing soft float API stuff on armv6
.if ${__T} != "armv6"
BROKEN_OPTIONS+=LIBSOFT

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 13, 2:41 PM (13 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36651498
Default Alt Text
D10399.id27445.diff (1 KB)

Event Timeline