summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2005-04-29 14:44:10 +0000
committerharti <harti@FreeBSD.org>2005-04-29 14:44:10 +0000
commit353bd9605d2f2050bdd167c74bc9eb01da43dabd (patch)
tree79bb4ea13c18834c1a0dae6521906f39ea55e6fd /share/mk/sys.mk
parent5e38b9f0d10c43d7261d6d30c5b8f68f3e413313 (diff)
downloadFreeBSD-src-353bd9605d2f2050bdd167c74bc9eb01da43dabd.zip
FreeBSD-src-353bd9605d2f2050bdd167c74bc9eb01da43dabd.tar.gz
Toggle on warnings. This resolves the problem with building old releases
(getting zillions of warnings). Building an old release uses that release's sys.mk which does not switch on these warnings, so make will be silent. They can be switch on on the command line with the -x option to make. This has been tested by building RELENG_5_4 on CURRENT.
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index da58f8e..c96adf2 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -269,6 +269,9 @@ __MAKE_CONF?=/etc/make.conf
# XXX hint for bsd.port.mk
OBJFORMAT?= elf
+# Toggle on warnings
+.WARN: dirsyntax
+
.endif
.include <bsd.compat.mk>
OpenPOWER on IntegriCloud