Files
MINGW-packages/mingw-w64-firefox/0017-MSYS2-Dont-use--static-or--static-libgcc.patch
2015-09-01 01:07:00 +01:00

31 lines
1.4 KiB
Diff

--- firefox-41.0b5.orig/configure.in 2015-08-27 22:30:03.000000000 +0100
+++ firefox-41.0b5/configure.in 2015-08-31 16:33:22.338814900 +0100
@@ -2223,9 +2223,9 @@
MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
RC='$(WINDRES)'
- # Use static libgcc and libstdc++
- LDFLAGS="$LDFLAGS -static"
- NSPR_LDFLAGS="$NSPR_LDFLAGS -static-libgcc"
+ # Don't use static libgcc and libstdc++ for MSYS2
+ # LDFLAGS="$LDFLAGS -static"
+ # NSPR_LDFLAGS="$NSPR_LDFLAGS -static-libgcc"
# Use temp file for windres (bug 213281)
RCFLAGS='-O coff --use-temp-file'
# mingw doesn't require kernel32, user32, and advapi32 explicitly
--- firefox-41.0b5/configure.orig 2015-08-31 15:21:34.109398300 +0100
+++ firefox-41.0b5/configure 2015-08-31 16:33:30.509282300 +0100
@@ -9473,9 +9473,9 @@
MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
RC='$(WINDRES)'
- # Use static libgcc and libstdc++
- LDFLAGS="$LDFLAGS -static"
- NSPR_LDFLAGS="$NSPR_LDFLAGS -static-libgcc"
+ # Don't use static libgcc and libstdc++ for MSYS2
+ # LDFLAGS="$LDFLAGS -static"
+ # NSPR_LDFLAGS="$NSPR_LDFLAGS -static-libgcc"
# Use temp file for windres (bug 213281)
RCFLAGS='-O coff --use-temp-file'
# mingw doesn't require kernel32, user32, and advapi32 explicitly