mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00
Bug 876416 - Pass -static-libgcc flag to NSPR and NSS. r=glandium
This commit is contained in:
parent
508530df0d
commit
b57c536756
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user