Don't clobber safeseh for msvcc.sh -clang-cl in 32-bit mode
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 28 Jan 2016 21:57:18 +0000 (16:57 -0500)
committerEhsan Akhgari <ehsan@mozilla.com>
Thu, 28 Jan 2016 21:57:18 +0000 (16:57 -0500)
The commit fb25cd0 went a bit too far and removed safeseh
when -clang-cl was passed, but that's only needed in x86-64
which is already handled by the -m64 flag.

I discovered this when building Firefox x86 with clang-cl.

msvcc.sh

index 65fbfef..1621e5f 100755 (executable)
--- a/msvcc.sh
+++ b/msvcc.sh
@@ -70,7 +70,6 @@ do
     ;;
     -clang-cl)
       cl="clang-cl"
-      safeseh=
       shift 1
     ;;
     -O0)