diff options
author | kan <kan@FreeBSD.org> | 2007-05-19 04:41:05 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-05-19 04:41:05 +0000 |
commit | 925e7e54c56d8f6fc791592229dbc48948b6d174 (patch) | |
tree | 7d62b93315069962431d491eec4cdaf3fd7b46cd /share/mk | |
parent | 45bdca2b2d931ce16a720bd0eec72d75d75a1213 (diff) | |
download | FreeBSD-src-925e7e54c56d8f6fc791592229dbc48948b6d174.zip FreeBSD-src-925e7e54c56d8f6fc791592229dbc48948b6d174.tar.gz |
Universally disable -Werror until src/ is in better shape for GCC 4.2.
There are new warnings that kill the build otherwise.
Disable pointer destination sign mismatch warning alltogether. Our tree
is in no shape to have that enabled yet.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 2ef7501..09cc843 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -8,6 +8,9 @@ # for GCC: http://gcc.gnu.org/onlinedocs/gcc-3.0.4/gcc_3.html#IDX143 +# Universally disable -Werror until src/ is in better shape for GCC 4.2 +NO_WERROR= + .if !defined(NO_WARNS) && ${CC} != "icc" . if defined(CSTD) . if ${CSTD} == "k&r" @@ -51,6 +54,7 @@ CWARNFLAGS += -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls # XXX always get it right. CWARNFLAGS += -Wno-uninitialized . endif +CWARNFLAGS += -Wno-pointer-sign . endif . if defined(FORMAT_AUDIT) |