Bug 1133384 - Add -MaxILKSize to LDFLAGS for MSVC to avoid LNK1248 error. r=glandium

--HG--
extra : source : 6a79ec902a458bf52ea6d25d5eb3f5dc5c601153
This commit is contained in:
Xidorn Quan 2015-02-19 10:29:35 +13:00
parent 302ff75d63
commit 1e56c4663e

View File

@ -2304,6 +2304,11 @@ ia64*-hpux*)
dnl Probably also a compiler bug, but what can you do?
PROFILE_USE_LDFLAGS="-LTCG:PGUPDATE"
LDFLAGS="$LDFLAGS -DYNAMICBASE"
if test "$_CC_MAJOR_VERSION" = "18" -a "$_CC_BUILD_VERSION" = "31101"; then
dnl Use MaxILKSize as a workaround for LNK1248 in VS2013update4
dnl See https://connect.microsoft.com/VisualStudio/feedback/details/1044914/fatal-error-lnk1248
LDFLAGS="$LDFLAGS -MaxILKSize:2147483647"
fi
dnl Minimum reqiurement of Gecko is VS2010 or later which supports
dnl both SSSE3 and SSE4.1.
HAVE_TOOLCHAIN_SUPPORT_MSSSE3=1