aboutsummaryrefslogtreecommitdiff
path: root/science/py-gpaw/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-gpaw/files/patch-setup.py')
-rw-r--r--science/py-gpaw/files/patch-setup.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/py-gpaw/files/patch-setup.py b/science/py-gpaw/files/patch-setup.py
new file mode 100644
index 000000000000..09638fa49406
--- /dev/null
+++ b/science/py-gpaw/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2022-01-12 10:11:02 UTC
++++ setup.py
+@@ -113,7 +113,7 @@ if compiler is not None:
+ from sysconfig import get_config_vars
+
+ # If CC is set then the following hack will not work
+- assert not os.environ.get('CC'), 'Please unset CC'
++ #assert not os.environ.get('CC'), 'Please unset CC'
+
+ vars = get_config_vars()
+ for key in ['CC', 'LDSHARED']: