Bug 831707 - Use -static-libgcc and -static-libstdc++ on mingw r=glandium

This commit is contained in:
Jacek Caban 2013-01-23 16:04:34 +01:00
parent ba3fb4c9f0
commit d2e2b5aa07
2 changed files with 4 additions and 0 deletions

View File

@ -2094,6 +2094,8 @@ ia64*-hpux*)
MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
RC='$(WINDRES)'
# Use static libgcc and libstdc++
LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
# Use temp file for windres (bug 213281)
RCFLAGS='-O coff --use-temp-file'
# mingw doesn't require kernel32, user32, and advapi32 explicitly

View File

@ -1637,6 +1637,8 @@ ia64*-hpux*)
MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
RC='$(WINDRES)'
# Use static libgcc and libstdc++
LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
# Use temp file for windres (bug 213281)
RCFLAGS='-O coff --use-temp-file'
# mingw doesn't require kernel32, user32, and advapi32 explicitly