From: John Marino Date: Mon, 1 Oct 2012 17:39:37 +0000 (+0200) Subject: bsd.sys.mk: Remove -Werror flag from gcc47 builds X-Git-Tag: v3.2.0~37 X-Git-Url: https://gitweb.dragonflybsd.org/~nant/dragonfly.git/commitdiff_plain/c9a7b745e473d4a0cf9fa16e9a34f62eb481ea3d 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. --- diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index a554735ded..67d75b3f9d 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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