Skip to content

Commit

Permalink
Set -static for mingw builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfbbqhax committed Sep 5, 2016
1 parent 218025c commit af661e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,10 @@ ifdef MINGW
$(error Cannot find a suitable cross compiler for $(PLATFORM) CXX)
endif

CFLAGS += -static-libgcc -static-libstdc++
CXXFLAGS += -static-libgcc -static-libstdc++
LDFLAGS += -static-libgcc -static-libstdc++
CFLAGS += -static -static-libgcc -static-libstdc++
CXXFLAGS += -static -static-libgcc -static-libstdc++
LDFLAGS += -static -static-libgcc -static-libstdc++

BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON

Expand Down

0 comments on commit af661e4

Please sign in to comment.