Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi.
authorMike Hommey <mh+mozilla@glandium.org>
Mon, 2 Jun 2014 13:21:10 +0000 (09:21 -0400)
committerRyan VanderMeulen <rvandermeulen@mozilla.com>
Mon, 2 Jun 2014 13:21:10 +0000 (09:21 -0400)
msvcc.sh

index 7440deb..9208076 100755 (executable)
--- 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
     ;;