Bug 876416 - Pass -static-libgcc flag to NSPR and NSS. r=glandium

This commit is contained in:
Jacek Caban 2013-05-30 11:51:21 +02:00
parent ff1bd1412a
commit ecbbd27701
2 changed files with 4 additions and 0 deletions

View File

@ -2092,6 +2092,7 @@ ia64*-hpux*)
RC='$(WINDRES)'
# Use static libgcc and libstdc++
LDFLAGS="$LDFLAGS -static-libgcc -static-libstdc++"
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

View File

@ -141,6 +141,9 @@ DEFAULT_GMAKE_FLAGS += NSINSTALL="$(NSINSTALL)"
ifeq ($(OS_ARCH),WINNT)
DEFAULT_GMAKE_FLAGS += INSTALL="$(NSINSTALL) -t"
endif
ifeq ($(OS_ARCH)_$(GNU_CC),WINNT_1)
DEFAULT_GMAKE_FLAGS += OS_DLLFLAGS="-static-libgcc"
endif
ifndef MOZ_NATIVE_SQLITE
ifdef MOZ_FOLD_LIBS
DEFAULT_GMAKE_FLAGS += SQLITE_LIB_NAME=nss3