summaryrefslogtreecommitdiff
path: root/msvcc.sh
diff options
context:
space:
mode:
authorMike Hommey <mh+mozilla@glandium.org>2014-06-02 09:21:10 -0400
committerRyan VanderMeulen <rvandermeulen@mozilla.com>2014-06-02 09:21:10 -0400
commit360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e (patch)
tree369f357f0f081f92f98cecfc6d1badce5611f46a /msvcc.sh
parent69289c10b0acb4b52c8b5df4cf738193c618db40 (diff)
downloadlibffi-360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e.tar.gz
Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi.
Diffstat (limited to 'msvcc.sh')
-rwxr-xr-xmsvcc.sh6
1 files changed, 5 insertions, 1 deletions
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
;;