mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
build.sh: Drop unused --disable-fortify-source from Windows build
This commit is contained in:
@@ -239,7 +239,7 @@ case "$platform" in # Adjust compilation options based on platform
|
||||
echo 'Compiling for Windows...'
|
||||
sys_cflags='-Wno-error'
|
||||
CFLAGS="${CFLAGS} -lIphlpapi -lCrypt32" # workaround for linking libs on mingw
|
||||
opts="$opts --disable-fortify-source"
|
||||
opts="$opts"
|
||||
postbuild='package_windows' # set the above function to be called after build
|
||||
target="qemu-system-i386w.exe"
|
||||
;;
|
||||
@@ -247,7 +247,7 @@ case "$platform" in # Adjust compilation options based on platform
|
||||
echo 'Cross-compiling for Windows...'
|
||||
export AR=${AR:-$CROSSAR}
|
||||
sys_cflags='-Wno-error'
|
||||
opts="$opts --cross-prefix=$CROSSPREFIX --static --disable-fortify-source"
|
||||
opts="$opts --cross-prefix=$CROSSPREFIX --static"
|
||||
postbuild='package_wincross' # set the above function to be called after build
|
||||
target="qemu-system-i386w.exe"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user