Skip to content

Commit 7fafef6

Browse files
committed
Use static build for WIN32.
This is needed as new mingw compilers links to winphread DLL.
1 parent 0030742 commit 7fafef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LTO_FLAGS="-flto -flto-partition=none"
2222
CXX_FLAGS="-DNDEBUG -Os -Wall"
2323
LIN64_FLAGS="$CXX_FLAGS $LTO_FLAGS -static-libstdc++ -Wl,--gc-sections"
2424
LIN32_FLAGS="$CXX_FLAGS $LTO_FLAGS -m32 -static-libstdc++ -Wl,--gc-sections"
25-
WIN_FLAGS="$CXX_FLAGS -static-libstdc++ -static-libgcc -Wl,--gc-sections"
25+
WIN_FLAGS="$CXX_FLAGS -static -Wl,--gc-sections"
2626
OSX32_FLAGS="$CXX_FLAGS $LTO_FLAGS -m32 -static-libstdc++"
2727
OSX64_FLAGS="$CXX_FLAGS $LTO_FLAGS -static-libstdc++"
2828

0 commit comments

Comments
 (0)