From 7fafef6ca8f4e6318be254d8e5de308bcf805875 Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Tue, 9 Mar 2021 08:12:15 -0300 Subject: [PATCH] Use static build for WIN32. This is needed as new mingw compilers links to winphread DLL. --- make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-release.sh b/make-release.sh index 591f140..20778b4 100755 --- a/make-release.sh +++ b/make-release.sh @@ -22,7 +22,7 @@ LTO_FLAGS="-flto -flto-partition=none" CXX_FLAGS="-DNDEBUG -Os -Wall" LIN64_FLAGS="$CXX_FLAGS $LTO_FLAGS -static-libstdc++ -Wl,--gc-sections" LIN32_FLAGS="$CXX_FLAGS $LTO_FLAGS -m32 -static-libstdc++ -Wl,--gc-sections" -WIN_FLAGS="$CXX_FLAGS -static-libstdc++ -static-libgcc -Wl,--gc-sections" +WIN_FLAGS="$CXX_FLAGS -static -Wl,--gc-sections" OSX32_FLAGS="$CXX_FLAGS $LTO_FLAGS -m32 -static-libstdc++" OSX64_FLAGS="$CXX_FLAGS $LTO_FLAGS -static-libstdc++"