Commit 360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e

Mike Hommey 2014-06-02T09:21:10

Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/msvcc.sh b/msvcc.sh
index 7440deb..9208076 100755
--- a/msvcc.sh
+++ b/msvcc.sh
@@ -105,9 +105,13 @@ do
       shift 1
     ;;
     -DFFI_DEBUG)
-      # Link against debug CRT and enable runtime error checks.
+      # Enable runtime error checks.
       args="$args -RTC1"
       defines="$defines $1"
+      shift 1
+    ;;
+    -DUSE_DEBUG_RTL)
+      # Link against debug CRT.
       md=-MDd
       shift 1
     ;;