From 1bb119280a792ddc4f03c044ad6de7bcaaae5685 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" <pesco@khjk.org> Date: Sun, 9 Feb 2020 18:16:03 +0100 Subject: [PATCH] remove -Wno-clobbered from CFLAGS it breaks the build with clang. --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 7979b33..c7e3ba5 100644 --- a/SConstruct +++ b/SConstruct @@ -119,7 +119,7 @@ if env['CC'] == 'cl': ) else: # -Wno-clobbered only really works with gcc >= 4.2.x, but ... scons - env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable -Wno-clobbered') + env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable') # Linker options if env['PLATFORM'] == 'darwin': -- GitLab