Pass 'force' flag to 'new_compiler()'.
This commit is contained in:
parent
455eb61648
commit
3c6204a87f
|
@ -121,8 +121,9 @@ class BuildExt (Command):
|
||||||
# Setup the CCompiler object that we'll use to do all the
|
# Setup the CCompiler object that we'll use to do all the
|
||||||
# compiling and linking
|
# compiling and linking
|
||||||
self.compiler = new_compiler (plat=os.environ.get ('PLAT'),
|
self.compiler = new_compiler (plat=os.environ.get ('PLAT'),
|
||||||
verbose=self.distribution.verbose,
|
verbose=self.verbose,
|
||||||
dry_run=self.distribution.dry_run)
|
dry_run=self.dry_run,
|
||||||
|
force=self.force)
|
||||||
if self.include_dirs is not None:
|
if self.include_dirs is not None:
|
||||||
self.compiler.set_include_dirs (self.include_dirs)
|
self.compiler.set_include_dirs (self.include_dirs)
|
||||||
if self.define is not None:
|
if self.define is not None:
|
||||||
|
|
Loading…
Reference in New Issue