summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-01-04 22:22:11 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-01-04 22:22:11 +0100
commit8a31fb62fe129d6ae60810a78a9e201ed5bb6c73 (patch)
tree57406a09e4c20724263f21ba9b6da640bd18019c /SConstruct
parent3e664405587c5cf44fa05dc4a5864ce08243c1dc (diff)
Added -Wall to CCFLAGS and some code cleanup.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f41d190..c16e2a9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -11,7 +11,7 @@ for lib, h in (('glib-2.0', None), ('sqlite3', 'sqlite3.h'), ('gtk-x11-2.0', Non
Exit(1)
env = conf.Finish()
-env.Append(CCFLAGS = ['-std=gnu99', '-g'])
+env.Append(CCFLAGS = ['-std=gnu99', '-g', '-Wall'])
env.Append(LINKFLAGS = ['-Wl,--export-dynamic'])
env.ParseConfig('pkg-config --cflags --libs glib-2.0')
env.ParseConfig('pkg-config --cflags --libs sqlite3')