Permalink
Browse files

Statically link libgcc on Windows

Fix for ioq3 test builds for Windows x86 (cross-compiled from Ubuntu
using mingw-w64) requiring libgcc_s_sjlj-1.dll. I'm unable to reproduce
the issue using mingw-w64 in Debian or Cygwin.
  • Loading branch information...
zturtleman committed Sep 26, 2017
1 parent 414f3c5 commit eeaade70bd47d88125800870be090c53db469cda
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -613,7 +613,7 @@ ifdef MINGW
CLIENT_LDFLAGS += -mwindows
endif
CLIENT_LIBS = -lgdi32 -lole32
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32
RENDERER_LIBS = -lgdi32 -lole32 -lopengl32 -static-libgcc
ifeq ($(USE_FREETYPE),1)
FREETYPE_CFLAGS = -Ifreetype2

0 comments on commit eeaade7

Please sign in to comment.