|
@ -138,6 +138,11 @@ def configure(conf): |
|
|
conf.env.append_value('CCFLAGS', '-D_FILE_OFFSET_BITS=64') |
|
|
conf.env.append_value('CCFLAGS', '-D_FILE_OFFSET_BITS=64') |
|
|
conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64') |
|
|
conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64') |
|
|
|
|
|
|
|
|
|
|
|
# platform |
|
|
|
|
|
platform_def = '-DPLATFORM=' + sys.platform |
|
|
|
|
|
conf.env.append_value('CCFLAGS', platform_def) |
|
|
|
|
|
conf.env.append_value('CXXFLAGS', platform_def) |
|
|
|
|
|
|
|
|
# Split off debug variant before adding variant specific defines |
|
|
# Split off debug variant before adding variant specific defines |
|
|
debug_env = conf.env.copy() |
|
|
debug_env = conf.env.copy() |
|
|
conf.set_env_name('debug', debug_env) |
|
|
conf.set_env_name('debug', debug_env) |
|
|