mirror of https://github.com/xemu-project/xemu.git
build: Disable source fortification for Windows builds
MSYS2/Mingw does not appear to provide a stable set of fortified source functions which the compiler makes calls to when the feature is enabled. Disable the feature for now.
This commit is contained in:
parent
310addb197
commit
f8a7f34508
2
build.sh
2
build.sh
|
@ -62,7 +62,7 @@ case "$(uname -s)" in # adjust compilation option based on platform
|
|||
CYGWIN*|MINGW*|MSYS*)
|
||||
echo 'Compiling for Windows…'
|
||||
sys_cflags='-Wno-error'
|
||||
sys_opts='--python=python3 --disable-cocoa --disable-opengl'
|
||||
sys_opts='--python=python3 --disable-cocoa --disable-opengl --disable-fortify-source'
|
||||
postbuild='package_windows' # set the above function to be called after build
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue