mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
This commit is contained in:
commit
6d1fb5aa85
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -1788,6 +1788,8 @@ class PyBuildExt(build_ext):
|
|||
mkpath(ffi_builddir)
|
||||
config_args = [arg for arg in sysconfig.get_config_var("CONFIG_ARGS").split()
|
||||
if (('--host=' in arg) or ('--build=' in arg))]
|
||||
if not self.verbose:
|
||||
config_args.append("-q")
|
||||
|
||||
# Pass empty CFLAGS because we'll just append the resulting
|
||||
# CFLAGS to Python's; -g or -O2 is to be avoided.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue