summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.sys.mk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2007-05-24 21:53:42 +0000
committerobrien <obrien@FreeBSD.org>2007-05-24 21:53:42 +0000
commitae19feef0a7ac3071ea1dabccc9efee33c980a38 (patch)
tree1ca952cc34c296da34c5662e90f4c43f34f1ebde /share/mk/bsd.sys.mk
parent74e15e6c709681da0f24e751248932e1e369743e (diff)
downloadFreeBSD-src-ae19feef0a7ac3071ea1dabccc9efee33c980a38.zip
FreeBSD-src-ae19feef0a7ac3071ea1dabccc9efee33c980a38.tar.gz
Temporarily add 'WITH_GCC3' that removes -Wno-pointer-sign from the
compiler invocation. This is just to help get over the hump of people tracking down bugs that may cross the GCC 4.2 upgrade. It is envisioned that this option goes away after a suitable amount of time.
Diffstat (limited to 'share/mk/bsd.sys.mk')
-rw-r--r--share/mk/bsd.sys.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 09cc843..169268f 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -54,7 +54,9 @@ CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
# XXX always get it right.
CWARNFLAGS += -Wno-uninitialized
. endif
+. if !defined(WITH_GCC3)
CWARNFLAGS += -Wno-pointer-sign
+. endif
. endif
. if defined(FORMAT_AUDIT)
OpenPOWER on IntegriCloud