summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2014-06-06 08:24:35 -0400
committerAnthony Green <green@moxielogic.com>2014-06-06 08:24:35 -0400
commitdf31a85103b0cc232bbc340d7e782a3853c7fad5 (patch)
tree369f357f0f081f92f98cecfc6d1badce5611f46a
parent69289c10b0acb4b52c8b5df4cf738193c618db40 (diff)
parent360aa8ca1ead2fdaefa7b1c6f01ad001d8abae7e (diff)
downloadlibffi-df31a85103b0cc232bbc340d7e782a3853c7fad5.tar.gz
Merge pull request #122 from rvandermeulen/1014976
Don't make --enable-debug imply using the debug CRT in libffi
-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
;;