build.sh: Drop unused --disable-fortify-source from Windows build

This commit is contained in:
Matt Borgerson
2026-01-18 16:50:39 -07:00
parent 704ece9ac6
commit 5eb85cb24f
+2 -2
View File
@@ -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"
;;