From a63138347b663a4bfd961627b00ad95ea7f27aef Mon Sep 17 00:00:00 2001 From: nillerusr Date: Tue, 25 Apr 2023 15:08:19 +0000 Subject: [PATCH] disable fortify-source headers --- wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wscript b/wscript index ada484c5..f4221618 100644 --- a/wscript +++ b/wscript @@ -198,6 +198,8 @@ def define_platform(conf): 'NO_HOOK_MALLOC', '_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': conf.env.append_unique('DEFINES', [ 'ANDROID=1', '_ANDROID=1', @@ -207,6 +209,7 @@ def define_platform(conf): 'NO_HOOK_MALLOC', '_DLL_EXT=.so' ]) + elif conf.env.DEST_OS == 'win32': conf.env.append_unique('DEFINES', [ 'WIN32=1', '_WIN32=1',