aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.options.mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-03-03 15:12:56 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-03-03 15:12:56 +0000
commitb4c82af55d955fd0e0c7286fa02e5a36124879f2 (patch)
treee185b6987dc085b1da4b7ee1368fd6c5bc0eeba8 /Mk/bsd.options.mk
parent6f21636837b9be88f6a98857dbd2ff12dec92630 (diff)
Don't output warnings about WITH_DEBUG being on.
Requested by: eadler Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=346911
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r--Mk/bsd.options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index cea868618dd5..77af21427a31 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -257,7 +257,8 @@ NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}}
. sinclude "${OPTIONS_FILE}.local"
### convert WITH and WITHOUT found in make.conf or reloaded from old optionsfile
-.for opt in ${ALL_OPTIONS}
+# XXX once WITH_DEBUG is not magic any more, do remove the :NDEBUG from here.
+.for opt in ${ALL_OPTIONS:NDEBUG}
.if defined(WITH_${opt})
OPTIONS_WARNINGS+= "WITH_${opt}"
OPTIONS_WARNINGS_SET+= ${opt}