shithub: choc

Download patch

ref: 6491da965962756a99684e9cb2261ba3eec6e599
parent: db2cd8292595bafd3524fdbae546a6a5020fed6e
author: Fabian Greffrath <[email protected]>
date: Wed Jan 4 16:06:55 EST 2017

Revert "Link MinGW builds with static libgcc"

This reverts commit fc9ba5db9bce99fb2a4a4210df76a1ed62f17133.

This is better handled elsewhere:
https://github.com/chocolate-doom/chocpkg/issues/10

--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,6 @@
 AC_CANONICAL_HOST
 
 orig_CFLAGS="$CFLAGS"
-orig_LDFLAGS="$LDFLAGS"
 
 AC_PROG_CC
 AC_PROG_RANLIB
@@ -28,11 +27,6 @@
 then
         WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
         CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS"
-        case "$host" in
-          *-*-mingw*)
-            LDFLAGS="-static-libgcc $orig_LDFLAGS"
-            ;;
-        esac
 fi
 
 dnl Search for SDL ...