summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 6d2fea7c18..17b3b9041d 100644
--- a/SConstruct
+++ b/SConstruct
@@ -793,7 +793,8 @@ else:
# warnings flags
#
-env.Append(CXXFLAGS="-Wall -Woverloaded-virtual")
+env.Append(CCFLAGS="-Wall")
+env.Append(CXXFLAGS="-Woverloaded-virtual")
if env['LIBLO']:
env.Append(CCFLAGS="-DHAVE_LIBLO")