Author: Armin Rigo <[email protected]>
Branch:
Changeset: r75192:c6e45dfbda90
Date: 2014-12-31 19:10 +0100
http://bitbucket.org/pypy/pypy/changeset/c6e45dfbda90/
Log: Change the default C++ compiler from 'cc' to 'c++'. On CPython this
setting is ignored anyway, but on PyPy the value 'cc' creates this
issue for example:
https://bitbucket.org/cffi/cffi/issue/165/
diff --git a/lib-python/2.7/distutils/unixccompiler.py
b/lib-python/2.7/distutils/unixccompiler.py
--- a/lib-python/2.7/distutils/unixccompiler.py
+++ b/lib-python/2.7/distutils/unixccompiler.py
@@ -58,7 +58,7 @@
executables = {'preprocessor' : None,
'compiler' : ["cc"],
'compiler_so' : ["cc"],
- 'compiler_cxx' : ["cc"],
+ 'compiler_cxx' : ["c++"], # pypy: changed, 'cc' is bogus
'linker_so' : ["cc", "-shared"],
'linker_exe' : ["cc"],
'archiver' : ["ar", "-cr"],
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit