Permalink
Browse files

bsd.sys.mk: Remove -Werror flag from gcc47 builds

While most of the breakage caused by new GCC47 warnings have been fixed,
swildner would prefer to complete the task and review the previously
and hastily submitted warning fixes at his leisure.

To accommodate this, the -Werror flag is removed when gcc47 is used to
build so the new warnings will pass by harmlessly.  swildner will
restore the -Werror flag when his task is complete.
  • Loading branch information...
1 parent eed9e95 commit c9a7b745e473d4a0cf9fa16e9a34f62eb481ea3d @jrmarino jrmarino committed Oct 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/mk/bsd.sys.mk
View
@@ -24,7 +24,7 @@ CFLAGS += -std=${CSTD}
. if defined(WARNS)
. if ${WARNS} >= 1
CWARNFLAGS += -Wsystem-headers
-. if !defined(NO_WERROR) && (${CCVER} == "gcc47" || ${CCVER} == "gcc44")
+. if !defined(NO_WERROR) && ${CCVER} == "gcc44"
CWARNFLAGS += -Werror
. endif
. endif

0 comments on commit c9a7b74

Please sign in to comment.