Commit df31a85103b0cc232bbc340d7e782a3853c7fad5

Anthony Green 2014-06-06T08:24:35

Merge pull request #122 from rvandermeulen/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
     ;;