From c9a7b745e473d4a0cf9fa16e9a34f62eb481ea3d Mon Sep 17 00:00:00 2001 From: John Marino Date: Mon, 1 Oct 2012 19:39:37 +0200 Subject: [PATCH] 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. --- share/mk/bsd.sys.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.41.0