diff options
author | Greg Ward <gward@python.net> | 1999-10-03 21:08:42 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 1999-10-03 21:08:42 (GMT) |
commit | 3c6204a87fb6da2157ac820a51057dffc8f98d6a (patch) | |
tree | 68e675b4885d26c614bf397463371678ba6febcc | |
parent | 455eb616488e73c6eb69ef4ec9121cdf94d126a0 (diff) | |
download | cpython-3c6204a87fb6da2157ac820a51057dffc8f98d6a.zip cpython-3c6204a87fb6da2157ac820a51057dffc8f98d6a.tar.gz cpython-3c6204a87fb6da2157ac820a51057dffc8f98d6a.tar.bz2 |
Pass 'force' flag to 'new_compiler()'.
-rw-r--r-- | Lib/distutils/command/build_ext.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 8c5065f..f284092 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -121,8 +121,9 @@ class BuildExt (Command): # Setup the CCompiler object that we'll use to do all the # compiling and linking self.compiler = new_compiler (plat=os.environ.get ('PLAT'), - verbose=self.distribution.verbose, - dry_run=self.distribution.dry_run) + verbose=self.verbose, + dry_run=self.dry_run, + force=self.force) if self.include_dirs is not None: self.compiler.set_include_dirs (self.include_dirs) if self.define is not None: |