[Python-checkins] cpython (merge 3.5 -> default): Update default msvccompiler link options to match the options used for core
steve.dower
python-checkins at python.org
Thu Jul 30 20:51:51 CEST 2015
https://hg.python.org/cpython/rev/7ada3cc41e2a
changeset: 97149:7ada3cc41e2a
parent: 97147:d3b20bff9c5d
parent: 97148:401c65b0ae3f
user: Steve Dower <steve.dower at microsoft.com>
date: Thu Jul 30 11:51:30 2015 -0700
summary:
Update default msvccompiler link options to match the options used for core builds.
files:
Lib/distutils/_msvccompiler.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/distutils/_msvccompiler.py b/Lib/distutils/_msvccompiler.py
--- a/Lib/distutils/_msvccompiler.py
+++ b/Lib/distutils/_msvccompiler.py
@@ -207,10 +207,10 @@
]
self.ldflags_shared = [
- '/nologo', '/DLL', '/INCREMENTAL:NO'
+ '/nologo', '/DLL', '/INCREMENTAL:NO', '/LTCG', '/nodefaultlib:libucrt.lib', 'ucrt.lib'
]
self.ldflags_shared_debug = [
- '/nologo', '/DLL', '/INCREMENTAL:no', '/DEBUG:FULL'
+ '/nologo', '/DLL', '/INCREMENTAL:no', '/LTCG', '/DEBUG:FULL', '/nodefaultlib:libucrtd.lib', 'ucrtd.lib'
]
self.ldflags_static = [
'/nologo'
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list