Skip to content

Commit

Permalink
exclude-libs for mingw build
Browse files Browse the repository at this point in the history
  • Loading branch information
Try committed Dec 6, 2016
1 parent 5ce6dcc commit 2c07556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Tempest/Tempest.pro
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ win32-msvc* {
win32-g++: {
QMAKE_CXXFLAGS += -Wno-unknown-pragmas
QMAKE_CXXFLAGS += -Wno-comment
QMAKE_LFLAGS += -Wl,--exclude-libs,libgcc_eh.a
QMAKE_LFLAGS += -Wl,--exclude-libs,libpthread.a
QMAKE_LFLAGS += -static -static-libgcc -static-libstdc++
}

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ build_script:
- del Makefile* /s /q

after_build:
- echo Tempest-win32-v$(appveyor_build_version) >> VERSION
- echo Tempest-win32-v%appveyor_build_version% >> VERSION
- set name="bin/Tempest-%CXX%-%CONFIGURATION%.zip"
- mkdir bin
- 7z a %name% VERSION
Expand Down

0 comments on commit 2c07556

Please sign in to comment.