diff options
author | Haibo Huang <hhb@google.com> | 2021-02-04 22:39:34 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-04 22:39:34 +0000 |
commit | 85102bd61099adb2164b18658b0ed07f5c2bed27 (patch) | |
tree | 87168cf298042f4ebf4e382de3434cf6c88a971c | |
parent | 87d10db31f3869d77dc16d3c16193fbe0c92eba8 (diff) | |
parent | a5134b4c15c6804f69ae1caf4277da0ccdf36936 (diff) | |
download | cpython3-85102bd61099adb2164b18658b0ed07f5c2bed27.tar.gz |
[kokoro python] Log cflags when build modules, for debugging am: b795f5211b am: 1473ec1508 am: a5134b4c15
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/1576254
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibe7a9de2d37c6eb8891ed502c71613ab5d7667ad
-rw-r--r-- | setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -436,9 +436,12 @@ class PyBuildExt(build_ext): args = {} # unfortunately, distutils doesn't let us provide separate C and C++ # compilers + print("=====compiler: " + compiler) if compiler is not None: (ccshared,cflags) = sysconfig.get_config_vars('CCSHARED','CFLAGS') args['compiler_so'] = compiler + ' ' + ccshared + ' ' + cflags + print("=====ccshared: " + ccshared) + print("=====cflags: " + cflags) self.compiler.set_executables(**args) def build_extensions(self): |