diff --git a/setup.py b/setup.py index 65acb99f7c1..10ce79e29c2 100644 --- a/setup.py +++ b/setup.py @@ -1675,6 +1675,8 @@ def configure_ctypes(self, ext): from distutils.dir_util import mkpath mkpath(ffi_builddir) config_args = [] + 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.