]> granicus.if.org Git - python/commitdiff
Backport 5cfe8af7abb2.
authorStefan Krah <skrah@bytereef.org>
Sun, 30 Sep 2012 19:26:33 +0000 (21:26 +0200)
committerStefan Krah <skrah@bytereef.org>
Sun, 30 Sep 2012 19:26:33 +0000 (21:26 +0200)
setup.py

index d60967aaf79bfbe2f30d0f54bdb68436484e2139..4dc58c84927425bcf544be56c0f15bff56ae1409 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -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: