summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-01-08 02:51:36 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-01-08 02:51:49 +0100
commit3f0b80bb129aedd41ee09dccf45c532caf28a854 (patch)
treefeeebbe0e04d9e509c516fd048fcfb32ba54c5ef /SConstruct
parent2ea7529bd1cf3d732ffbbbc42129b2a18534a1e9 (diff)
Added -Wall to CCFLAGS for debug builds.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 5bc30a3..1f20d54 100644
--- a/SConstruct
+++ b/SConstruct
@@ -14,7 +14,7 @@ env.Append(CCFLAGS = ['-std=c99', '-D_GNU_SOURCE', '-pthread'])
if GetOption('release'):
env.Append(CCFLAGS = ['-O2'])
else:
- env.Append(CCFLAGS = ['-g'])
+ env.Append(CCFLAGS = ['-Wall', '-g'])
env.Append(LINKFLAGS = ['-pthread'])
env.ParseConfig('pkg-config --cflags --libs libconfig')