diff options
author | Justin Stanley <molecuul@users.noreply.github.com> | 2018-10-04 20:57:33 -0500 |
---|---|---|
committer | Levi Baber <baberlevi@gmail.com> | 2018-10-04 20:57:33 -0500 |
commit | 011ad24950684b955a213f1b32662dd745fea3b1 (patch) | |
tree | f84239a105a0342de52bb21835ad8752069fa2c7 | |
parent | d981f28a8050acb077d206041669fc70b5f32568 (diff) | |
download | spack-011ad24950684b955a213f1b32662dd745fea3b1.tar.gz spack-011ad24950684b955a213f1b32662dd745fea3b1.tar.bz2 spack-011ad24950684b955a213f1b32662dd745fea3b1.tar.xz spack-011ad24950684b955a213f1b32662dd745fea3b1.zip |
salmon: remove static link to libstdc++ (#9343)
-rw-r--r-- | var/spack/repos/builtin/packages/salmon/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/salmon/package.py b/var/spack/repos/builtin/packages/salmon/package.py index 552a1c44ac..f9c561ed29 100644 --- a/var/spack/repos/builtin/packages/salmon/package.py +++ b/var/spack/repos/builtin/packages/salmon/package.py @@ -38,6 +38,10 @@ class Salmon(CMakePackage): depends_on('tbb') depends_on('boost@:1.66.0') + def patch(self): + # remove static linking to libstdc++ + filter_file('-static-libstdc++', '', 'CMakeLists.txt', string=True) + def cmake_args(self): args = ['-DBOOST_ROOT=%s' % self.spec['boost'].prefix] return args |