Skip to content

Commit

Permalink
Use static build for WIN32.
Browse files Browse the repository at this point in the history
This is needed as new mingw compilers links to winphread DLL.
  • Loading branch information
dmsc committed Mar 9, 2021
1 parent 0030742 commit 7fafef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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++"

Expand Down

0 comments on commit 7fafef6

Please sign in to comment.