From 5eb85cb24fa0034e69628de0689cd213a51bccf8 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 18 Jan 2026 16:50:32 -0700 Subject: [PATCH] build.sh: Drop unused --disable-fortify-source from Windows build --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 81fca2fb59..ab4ef3bc32 100755 --- a/build.sh +++ b/build.sh @@ -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" ;;