[pypy-commit] pypy default: Respect --no-profopt, so you can do -O3 --shared
stefanor
pypy.commits at gmail.com
Fri Nov 11 18:14:07 EST 2016
Author: Stefano Rivera <stefano at rivera.za.net>
Branch:
Changeset: r88326:c47d09153826
Date: 2016-11-11 23:13 +0000
http://bitbucket.org/pypy/pypy/changeset/c47d09153826/
Log: Respect --no-profopt, so you can do -O3 --shared
diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -253,7 +253,8 @@
raise Exception("Cannot use the --output option with PyPy "
"when --shared is on (it is by default). "
"See issue #1971.")
- if config.translation.profopt is not None:
+ if (config.translation.profopt is not None
+ and not config.translation.noprofopt):
raise Exception("Cannot use the --profopt option "
"when --shared is on (it is by default). "
"See issue #2398.")
More information about the pypy-commit
mailing list