diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2010-11-20 15:35:41 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-11-22 06:07:27 +0300 |
commit | a87172f9b21eb36cfde9dc96cc011a33e6bb93fd (patch) | |
tree | 5c5f58423aac646cad7d249a0a0978b2fb99417b /wscript | |
parent | 5749f9181480dc69c8e4b1d4755d50b8d9af56c7 (diff) |
Compile with `-Wno-unused-parameter -D_FORTIFY_SOURCE=2`
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -365,6 +365,9 @@ def configure(conf): conf.env.append_value('CPPFLAGS', '-pg') conf.env.append_value('LINKFLAGS', '-pg') + conf.env.append_value('CPPFLAGS', '-Wno-unused-parameter'); + conf.env.append_value('CPPFLAGS', '-D_FORTIFY_SOURCE=2'); + # Split off debug variant before adding variant specific defines debug_env = conf.env.copy() conf.set_env_name('debug', debug_env) |