mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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.
This commit is contained in:
parent
5c0e10ecce
commit
d9e2d1a3b5
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue