Changeset 2492 for trunk/distutils/setupext.py
- Timestamp:
- 05/11/12 10:21:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/distutils/setupext.py
r2490 r2492 32 32 ' e.g. $HOME, to add $HOME/lib etc to the build.'), 33 33 ] 34 34 35 35 36 def initialize_options(self): … … 122 123 123 124 124 def run(self): 125 build_ext.build_ext.run(self) 125 def build_extensions(self): 126 delargs = ["-Wstrict-prototypes", "-Wshorten-64-to-32", 127 "-fwrapv"] 128 for comp in [self.compiler.compiler, self.compiler.compiler_so, 129 self.compiler.compiler_cxx]: 130 for arg in comp: 131 if arg in delargs: 132 comp.remove(arg) 133 134 build_ext.build_ext.build_extensions(self)
Note: See TracChangeset
for help on using the changeset viewer.