Backport 5cfe8af7abb2.

This commit is contained in:
Stefan Krah 2012-09-30 21:26:33 +02:00
parent 89bbe68195
commit ffc3dee5ae
1 changed files with 1 additions and 0 deletions

View File

@ -1985,6 +1985,7 @@ class PyBuildExt(build_ext):
# solaris: problems with register allocation.
# icc >= 11.0 works as well.
define_macros = config['ppro']
extra_compile_args.append('-Wno-unknown-pragmas')
else:
define_macros = config['ansi32']
else: