[ioquake3] 11/33: Statically link libgcc on Windows

Simon McVittie smcv at debian.org
Mon Oct 30 14:00:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit eeaade70bd47d88125800870be090c53db469cda
Author: Zack Middleton <zack at cloemail.com>
Date:   Tue Sep 26 01:05:46 2017 -0500

    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.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index dc40a65..e40c0da 100644
--- a/Makefile
+++ b/Makefile
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list