mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Issue #15591: run ctypes' configure in quiet mode when setup.py runs silently
This commit is contained in:
parent
58098a77e6
commit
6fd3248855
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
@ -1872,6 +1872,8 @@ class PyBuildExt(build_ext):
|
||||||
from distutils.dir_util import mkpath
|
from distutils.dir_util import mkpath
|
||||||
mkpath(ffi_builddir)
|
mkpath(ffi_builddir)
|
||||||
config_args = []
|
config_args = []
|
||||||
|
if not self.verbose:
|
||||||
|
config_args.append("-q")
|
||||||
|
|
||||||
# Pass empty CFLAGS because we'll just append the resulting
|
# Pass empty CFLAGS because we'll just append the resulting
|
||||||
# CFLAGS to Python's; -g or -O2 is to be avoided.
|
# CFLAGS to Python's; -g or -O2 is to be avoided.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue