Skip to content

Commit a631383

Browse files
committed
disable fortify-source headers
1 parent 852f405 commit a631383

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ def define_platform(conf):
198198
'NO_HOOK_MALLOC',
199199
'_DLL_EXT=.so'
200200
])
201+
conf.env.append_unique('CFLAGS', '-U_FORTIFY_SOURCE')
202+
conf.env.append_unique('CXXFLAGS', '-U_FORTIFY_SOURCE')
201203
elif conf.env.DEST_OS == 'android':
202204
conf.env.append_unique('DEFINES', [
203205
'ANDROID=1', '_ANDROID=1',
@@ -207,6 +209,7 @@ def define_platform(conf):
207209
'NO_HOOK_MALLOC',
208210
'_DLL_EXT=.so'
209211
])
212+
210213
elif conf.env.DEST_OS == 'win32':
211214
conf.env.append_unique('DEFINES', [
212215
'WIN32=1', '_WIN32=1',

0 commit comments

Comments
 (0)