disable fortify-source headers
This commit is contained in:
parent
f7b85181f9
commit
7b875df23f
1 changed files with 3 additions and 0 deletions
3
wscript
3
wscript
|
@ -198,6 +198,8 @@ def define_platform(conf):
|
||||||
'NO_HOOK_MALLOC',
|
'NO_HOOK_MALLOC',
|
||||||
'_DLL_EXT=.so'
|
'_DLL_EXT=.so'
|
||||||
])
|
])
|
||||||
|
conf.env.append_unique('CFLAGS', '-U_FORTIFY_SOURCE')
|
||||||
|
conf.env.append_unique('CXXFLAGS', '-U_FORTIFY_SOURCE')
|
||||||
elif conf.env.DEST_OS == 'android':
|
elif conf.env.DEST_OS == 'android':
|
||||||
conf.env.append_unique('DEFINES', [
|
conf.env.append_unique('DEFINES', [
|
||||||
'ANDROID=1', '_ANDROID=1',
|
'ANDROID=1', '_ANDROID=1',
|
||||||
|
@ -207,6 +209,7 @@ def define_platform(conf):
|
||||||
'NO_HOOK_MALLOC',
|
'NO_HOOK_MALLOC',
|
||||||
'_DLL_EXT=.so'
|
'_DLL_EXT=.so'
|
||||||
])
|
])
|
||||||
|
|
||||||
elif conf.env.DEST_OS == 'win32':
|
elif conf.env.DEST_OS == 'win32':
|
||||||
conf.env.append_unique('DEFINES', [
|
conf.env.append_unique('DEFINES', [
|
||||||
'WIN32=1', '_WIN32=1',
|
'WIN32=1', '_WIN32=1',
|
||||||
|
|
Loading…
Reference in a new issue