aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-20 09:54:09 -0400
committerJack Lloyd <[email protected]>2018-03-21 04:55:29 -0400
commit6c1c00f6942ca9a3f0de5fc8f719f017caa38da2 (patch)
treec0f1a97fe9d35dc079d630ad0255559da1f8696c /src/build-data/cc/msvc.txt
parent230ec136952ce4077b988302e940518a8f5454f2 (diff)
Add option to specify the MSVC runtime
Fixes GH #210
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 98b392da7..ed32a3c3c 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -58,6 +58,9 @@ default-debug -> "$(LINKER) /DEBUG"
</binary_link_commands>
<mach_abi_linking>
-all -> "/MD /bigobj"
-all-debug -> "/MDd /bigobj"
+all -> "/bigobj"
+
+# These can be overridden with --msvc-runtime option
+rt -> "/MD"
+rt-debug -> "/MDd"
</mach_abi_linking>