[pypy-commit] pypy default: do not use -Wimplicit by default since it does not exist for c++ compiler
mattip
pypy.commits at gmail.com
Wed Nov 16 16:32:25 EST 2016
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r88418:b7b97f5e6bba
Date: 2016-11-16 22:28 +0200
http://bitbucket.org/pypy/pypy/changeset/b7b97f5e6bba/
Log: do not use -Wimplicit by default since it does not exist for c++
compiler
diff --git a/lib-python/2.7/distutils/sysconfig_pypy.py b/lib-python/2.7/distutils/sysconfig_pypy.py
--- a/lib-python/2.7/distutils/sysconfig_pypy.py
+++ b/lib-python/2.7/distutils/sysconfig_pypy.py
@@ -127,7 +127,9 @@
setattr(compiler, executable, command)
if compiler.compiler_type == "unix":
- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit'])
+ # compiler_so can be c++ which has no -Wimplicit
+ #compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit'])
+ compiler.compiler_so.extend(['-O2', '-fPIC'])
compiler.shared_lib_extension = get_config_var('SO')
if "CPPFLAGS" in os.environ:
cppflags = shlex.split(os.environ["CPPFLAGS"])
More information about the pypy-commit
mailing list