aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-11 17:34:56 -0400
committerJack Lloyd <[email protected]>2018-09-11 17:34:56 -0400
commitbc7e11343eed29cf2ff123f6e49b7dc038886cda (patch)
tree4efdfbc29d475cab584397878d4ea2f2b5738f89
parent7f1ae84b36af73f98991723e1069d7c7850198ad (diff)
Use VC runtime MDd only if --debug-mode is used
Closes GH #1683
-rwxr-xr-xconfigure.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.py b/configure.py
index 7b18f80d0..13771e292 100755
--- a/configure.py
+++ b/configure.py
@@ -1177,22 +1177,22 @@ class CompilerInfo(InfoObject): # pylint: disable=too-many-instance-attributes
return self.visibility_attribute
return ''
- def mach_abi_link_flags(self, options, with_debug_info=None):
+ def mach_abi_link_flags(self, options, debug_mode=None):
#pylint: disable=too-many-branches
"""
Return the machine specific ABI flags
"""
- if with_debug_info is None:
- with_debug_info = options.with_debug_info
+ if debug_mode is None:
+ debug_mode = options.debug_mode
def mach_abi_groups():
yield 'all'
if options.msvc_runtime is None:
- if with_debug_info:
+ if debug_mode:
yield 'rt-debug'
else:
yield 'rt'