add _ISOC9X_SOURCE define to compiler command line to provide uniform access to llabs()
This commit is contained in:
parent
ad8ffab544
commit
0bd09a0e23
4
wscript
4
wscript
@ -373,8 +373,12 @@ def set_compiler_flags (conf,opt):
|
|||||||
|
|
||||||
conf.env.append_value('CFLAGS', '-DBOOST_SYSTEM_NO_DEPRECATED')
|
conf.env.append_value('CFLAGS', '-DBOOST_SYSTEM_NO_DEPRECATED')
|
||||||
conf.env.append_value('CXXFLAGS', '-DBOOST_SYSTEM_NO_DEPRECATED')
|
conf.env.append_value('CXXFLAGS', '-DBOOST_SYSTEM_NO_DEPRECATED')
|
||||||
|
# need ISOC9X for llabs()
|
||||||
|
conf.env.append_value('CFLAGS', '-D_ISOC9X_SOURCE')
|
||||||
conf.env.append_value('CFLAGS', '-D_LARGEFILE64_SOURCE')
|
conf.env.append_value('CFLAGS', '-D_LARGEFILE64_SOURCE')
|
||||||
conf.env.append_value('CFLAGS', '-D_FILE_OFFSET_BITS=64')
|
conf.env.append_value('CFLAGS', '-D_FILE_OFFSET_BITS=64')
|
||||||
|
# need ISOC9X for llabs()
|
||||||
|
conf.env.append_value('CXXFLAGS', '-D_ISOC9X_SOURCE')
|
||||||
conf.env.append_value('CXXFLAGS', '-D_LARGEFILE64_SOURCE')
|
conf.env.append_value('CXXFLAGS', '-D_LARGEFILE64_SOURCE')
|
||||||
conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64')
|
conf.env.append_value('CXXFLAGS', '-D_FILE_OFFSET_BITS=64')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user