1. Armin Rigo
  2. cpython-withatomic

Commits

Tarek Ziadé  committed 3d38c00

Fixed #2698 - now reads the compiler option when creating the compiler

  • Participants
  • Parent commits 9ff1035
  • Branches 3.1

Comments (0)

Files changed (3)

File Lib/distutils/command/build_ext.py

View file
  • Ignore whitespace
 
         # Setup the CCompiler object that we'll use to do all the
         # compiling and linking
-        self.compiler = new_compiler(compiler=None,
+        self.compiler = new_compiler(compiler=self.compiler,
                                      verbose=self.verbose,
                                      dry_run=self.dry_run,
                                      force=self.force)

File Lib/distutils/tests/test_build_ext.py

View file
  • Ignore whitespace
         self.assertEquals(so_dir, other_tmp_dir)
 
         cmd.inplace = 0
+        cmd.compiler = None
         cmd.run()
         so_file = cmd.get_outputs()[0]
         self.assertTrue(os.path.exists(so_file))

File Misc/NEWS

View file
  • Ignore whitespace
 Library
 -------
 
+- Issue #2698: The --compiler ignored was ignored for distutils' build_ext.
+
 - Issue #4961: Inconsistent/wrong result of askyesno function in tkMessageBox
   with Tcl/Tk-8.5.