From afd58304837b868581973da31049a1b325ed1595 Mon Sep 17 00:00:00 2001 From: Andrea Shepard <andrea@special-circumstanc.es> Date: Thu, 12 Dec 2019 13:03:39 +0000 Subject: [PATCH] Mostly-fix optimized/profiled build --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index b2fb3638..6094d081 100644 --- a/SConstruct +++ b/SConstruct @@ -112,7 +112,8 @@ if env['CC'] == 'cl': ] ) else: - env.MergeFlags('-std=c99 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -Wno-unused-parameter -Wno-attributes -Wno-unused-variable') + # -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') # Linker options if env['PLATFORM'] == 'darwin': -- GitLab