aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/msvc.txt
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-02 18:13:38 +0200
committerSimon Warta <[email protected]>2015-07-21 20:06:18 +0200
commit648d504933e2fd3e994d24d8703fee9b176c36cd (patch)
treee6a894a05dccf374e34b3fc80983d82a0691fa24 /src/build-data/cc/msvc.txt
parent321a194a5400e200ecd02568706fa7b8c1339fcc (diff)
Have a $(LINKER) variable
Diffstat (limited to 'src/build-data/cc/msvc.txt')
-rw-r--r--src/build-data/cc/msvc.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 1bb7454ba..854edb60d 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -1,6 +1,7 @@
macro_name MSVC
binary_name cl
+linker_name link
compile_option "/nologo /c "
output_to_option "/Fo"
@@ -36,7 +37,8 @@ rdrand -> ""
</isa_flags>
<so_link_flags>
-default -> "$(CXX) /LD"
+default -> "$(LINKER) /DLL"
+default-debug -> "$(LINKER) /DLL /DEBUG"
</so_link_flags>
<mach_abi_linking>