aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-04 23:44:21 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-04 23:44:21 +0000
commit298e62f1895e3ec45efe75ba20fe598741d52980 (patch)
tree468bc01cbf6107c30636b6f8d8f4c7824c119a9a
parent123d3513f57112eb03a4d1f50ab1dcba752e6d65 (diff)
parent9940dce14fac189d2fbf1647e93a317cb2939cbf (diff)
downloadcpython3-298e62f1895e3ec45efe75ba20fe598741d52980.tar.gz
[kokoro python] Add debugging info am: 0a16db85bc am: 9c8dfdf77f am: 9940dce14f
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/1576397 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I05eef92c360d4c1dea40533a43c9f3b8136be15f
-rw-r--r--Lib/distutils/unixccompiler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index f0792de74a..c7bc43e706 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -111,8 +111,12 @@ class UnixCCompiler(CCompiler):
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
+ print("====cc_args: " + cc_args)
+ print("====extra_postargs: " + extra_postargs)
+ print("====Compiler_so before fixup: " + self.compiler_so)
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
+ print("====Compiler_so after fixup: " + self.compiler_so)
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)