Page MenuHomeFreeBSD

D10399.id27524.diff
No OneTemporary

D10399.id27524.diff

Index: head/share/mk/src.opts.mk
===================================================================
--- head/share/mk/src.opts.mk
+++ head/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 \
@@ -263,6 +262,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
Tue, Aug 11, 6:35 PM (1 m, 53 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36521637
Default Alt Text
D10399.id27524.diff (933 B)

Event Timeline