diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2016-06-10 14:35:19 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2016-06-10 14:35:19 -0500 |
commit | 85502e34f9d8a0a91267247d9b72287012befd0f (patch) | |
tree | 71cfa46795170ba5b554f780c3dcb0890f91740d /var | |
parent | 65896ff2ed809776e54f012a622b13a450c64ea6 (diff) | |
download | spack-85502e34f9d8a0a91267247d9b72287012befd0f.tar.gz spack-85502e34f9d8a0a91267247d9b72287012befd0f.tar.bz2 spack-85502e34f9d8a0a91267247d9b72287012befd0f.tar.xz spack-85502e34f9d8a0a91267247d9b72287012befd0f.zip |
CMake knows how to create PIC
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/superlu/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/superlu/package.py b/var/spack/repos/builtin/packages/superlu/package.py index 91e8693924..c634c1d1ba 100644 --- a/var/spack/repos/builtin/packages/superlu/package.py +++ b/var/spack/repos/builtin/packages/superlu/package.py @@ -39,8 +39,7 @@ class Superlu(Package): def install(self, spec, prefix): cmake_args = [ - '-DCMAKE_C_FLAGS=-fPIC', - '-DCMAKE_Fortran_FLAGS=-fPIC', + '-DCMAKE_POSITION_INDEPENDENT_CODE=ON', # BLAS support '-Denable_blaslib=OFF', '-DBLAS_blas_LIBRARY={0}'.format(spec['blas'].blas_shared_lib) |