mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Merge 3.3.
This commit is contained in:
commit
cc0589dbb9
1 changed files with 5 additions and 0 deletions
5
setup.py
5
setup.py
|
@ -2006,6 +2006,11 @@ class PyBuildExt(build_ext):
|
||||||
if not sysconfig.get_config_var('WITH_THREAD'):
|
if not sysconfig.get_config_var('WITH_THREAD'):
|
||||||
define_macros.append(('WITHOUT_THREADS', 1))
|
define_macros.append(('WITHOUT_THREADS', 1))
|
||||||
|
|
||||||
|
# Increase warning level for gcc:
|
||||||
|
if 'gcc' in cc:
|
||||||
|
extra_compile_args.extend(['-Wextra',
|
||||||
|
'-Wno-missing-field-initializers'])
|
||||||
|
|
||||||
# Uncomment for extra functionality:
|
# Uncomment for extra functionality:
|
||||||
#define_macros.append(('EXTRA_FUNCTIONALITY', 1))
|
#define_macros.append(('EXTRA_FUNCTIONALITY', 1))
|
||||||
ext = Extension (
|
ext = Extension (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue