Skip to content

Commit

Permalink
Build Windows include runtime
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alin Serdean authored and blp committed Mar 14, 2016
1 parent 6d88221 commit 6ad62ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-aux/cccl
Expand Up @@ -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*)
Expand Down

0 comments on commit 6ad62ef

Please sign in to comment.