Backed out changeset e7c397118fd2 (bug 1340393) to fix Windows pgo builds after bug 1322703 got backed out. r=backout,bustage-fix on a CLOSED TREE

This commit is contained in:
Sebastian Hengst 2017-03-01 19:31:06 +01:00
parent d1749aad4f
commit 2975da8533
2 changed files with 8 additions and 0 deletions

View File

@ -700,6 +700,10 @@ case "$target" in
fi
changequote([,])
fi
dnl VS2013+ requires -FS when parallel building by make -jN.
dnl If nothing, compiler sometimes causes C1041 error.
CFLAGS="$CFLAGS -FS"
CXXFLAGS="$CXXFLAGS -FS"
dnl VS2013+ supports -Gw for better linker optimizations.
dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
dnl Disabled on ASan because it causes false-positive ODR violations.

View File

@ -986,6 +986,10 @@ case "$target" in
if test -n "$CLANG_CL"; then
SSSE3_FLAGS="-mssse3"
fi
dnl VS2013+ requires -FS when parallel building by make -jN.
dnl If nothing, compiler sometimes causes C1041 error.
CFLAGS="$CFLAGS -FS"
CXXFLAGS="$CXXFLAGS -FS"
dnl VS2013+ supports -Gw for better linker optimizations.
dnl http://blogs.msdn.com/b/vcblog/archive/2013/09/11/introducing-gw-compiler-switch.aspx
dnl Disabled on ASan because it causes false-positive ODR violations.