diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/kvtree/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/kvtree/package.py b/var/spack/repos/builtin/packages/kvtree/package.py index 9fdb88d4bc..443f644acb 100644 --- a/var/spack/repos/builtin/packages/kvtree/package.py +++ b/var/spack/repos/builtin/packages/kvtree/package.py @@ -30,6 +30,12 @@ class Kvtree(CMakePackage): multi=False, description='File locking style for KVTree.') + def flag_handler(self, name, flags): + if self.spec.satisfies('%cce'): + if name == 'ldflags': + flags.append('-Wl,-z,muldefs') + return (flags, None, None) + def cmake_args(self): args = [] if self.spec.satisfies('+mpi'): |