Commit ba9cc91fd71371c5d8ece0e7ebd2972ec319e27f

Vicent Martí 2011-05-18T16:58:24

Merge pull request #195 from RomainMuller/master Consider environment-specified CFLAGS

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/wscript b/wscript
index f4f8da9..fd877e4 100644
--- a/wscript
+++ b/wscript
@@ -50,7 +50,7 @@ def configure(conf):
 
     dbg = conf.options.debug
 
-    conf.env.CFLAGS = CFLAGS_UNIX + (CFLAGS_UNIX_DBG if dbg else [])
+    conf.env.CFLAGS += CFLAGS_UNIX + (CFLAGS_UNIX_DBG if dbg else [])
 
     if conf.env.DEST_OS == 'win32':
         conf.env.PLATFORM = 'win32'