Author: Matti Picus <matti.pi...@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"]) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit