aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-03-03 23:12:56 +0800
committermat <mat@FreeBSD.org>2014-03-03 23:12:56 +0800
commit8de02c6f55d3646bd6e4b2248d7c6425932bd039 (patch)
treee185b6987dc085b1da4b7ee1368fd6c5bc0eeba8 /Mk
parentc6500aa6d3c2497ae8acb2dbf1bb96dc21b95976 (diff)
downloadfreebsd-ports-gnome-8de02c6f55d3646bd6e4b2248d7c6425932bd039.tar.gz
freebsd-ports-gnome-8de02c6f55d3646bd6e4b2248d7c6425932bd039.tar.zst
freebsd-ports-gnome-8de02c6f55d3646bd6e4b2248d7c6425932bd039.zip
Don't output warnings about WITH_DEBUG being on.
Requested by: eadler Sponsored by: Absolight
Diffstat (limited to '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}