summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2016-02-26 13:59:10 +0000
committerBen Pfaff <blp@ovn.org>2016-03-14 10:22:44 -0700
commit6ad62effc933757d2c919bfc73d379b72bbc6706 (patch)
tree29b52bc86186ecb54dc625e81c81565648cd9a43 /build-aux
parent6d8822103af351807461acdf23833d6c0f7d0bad (diff)
downloadopenvswitch-6ad62effc933757d2c919bfc73d379b72bbc6706.tar.gz
Build Windows include runtime
This patch adds the Visual Studio runtime to the binaries by adding the code generation compile flags: MT (release version) and MTd (debug version). More on the subject can be found under: https://msdn.microsoft.com/en-us/library/2kzt1wy3%28v=vs.120%29.aspx This helps shipping binaries and guaranteeing the runtime uses the specific version Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Sairam Venugopal <vsairam@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/cccl4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/cccl b/build-aux/cccl
index afa0a6b8b..93f9c50d0 100644
--- a/build-aux/cccl
+++ b/build-aux/cccl
@@ -90,11 +90,11 @@ EOF
;;
-O0)
- clopt="$clopt ${slash}Od ${slash}D_DEBUG"
+ clopt="$clopt ${slash}Od ${slash}D_DEBUG ${slash}MTd"
;;
-O2)
- clopt="$clopt ${slash}O2"
+ clopt="$clopt ${slash}O2 ${slash}MT"
;;
-L*)