summaryrefslogtreecommitdiff
path: root/science/py-pymol/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--science/py-pymol/files/patch-setup.py23
1 files changed, 10 insertions, 13 deletions
diff --git a/science/py-pymol/files/patch-setup.py b/science/py-pymol/files/patch-setup.py
index 9c43d171c4cb..208c68150b91 100644
--- a/science/py-pymol/files/patch-setup.py
+++ b/science/py-pymol/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2017-03-09 18:16:07 UTC
+--- setup.py.orig 2018-07-24 16:14:37 UTC
+++ setup.py
-@@ -52,6 +52,8 @@ try:
+@@ -54,6 +54,8 @@ try:
"keyword support.")
parser.add_argument('--help-distutils', action="store_true",
help="show help for distutils options and exit")
@@ -9,14 +9,11 @@
options, sys.argv[1:] = parser.parse_known_args(namespace=options)
except ImportError:
print("argparse not available")
-@@ -318,8 +320,8 @@ else: # unix style (linux, mac, ...)
-
- # optimization currently causes a clang segfault on OS X 10.9 when
- # compiling layer2/RepCylBond.cpp
-- if sys.platform != 'darwin':
-- ext_comp_args += ["-O3"]
-+ #if sys.platform != 'darwin':
-+ # ext_comp_args += ["-O3"]
-
- def get_pymol_version():
- return re.findall(r'_PyMOL_VERSION "(.*)"', open('layer0/Version.h').read())[0]
+@@ -278,7 +280,6 @@ ext_comp_args = [
+ # optimizations
+ "-ffast-math",
+ "-funroll-loops",
+- "-O3",
+ "-fcommon",
+ ]
+ ext_link_args = []