
* python: ensure that distutils sets valid compiler options for RPATH on cray * python: add cray-rpath patches for python@2.3:3.0.1 and python@3.1: * python: in patch(..., when="@a:b platform=c"), limit b must be specified * python: assume that python@4 will break the cray patches
13 lines
469 B
Diff
13 lines
469 B
Diff
--- a/Lib/distutils/unixccompiler.py 2003-06-02 05:27:40.000000000 +1000
|
|
+++ b/Lib/distutils/unixccompiler.py 2017-05-13 13:52:45.554213616 +1000
|
|
@@ -208,7 +208,8 @@
|
|
elif compiler[:3] == "gcc" or compiler[:3] == "g++":
|
|
return "-Wl,-R" + dir
|
|
else:
|
|
- return "-R" + dir
|
|
+ # Patched by spack to use gcc syntax by default:
|
|
+ return "-Wl,-R" + dir
|
|
|
|
def library_option(self, lib):
|
|
return "-l" + lib
|