summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/plumed/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/plumed/package.py b/var/spack/repos/builtin/packages/plumed/package.py
index 6896cbeb77..078af3a24a 100644
--- a/var/spack/repos/builtin/packages/plumed/package.py
+++ b/var/spack/repos/builtin/packages/plumed/package.py
@@ -148,7 +148,12 @@ class Plumed(AutotoolsPackage):
# with MPI you should use:
#
# > ./configure CXX="$MPICXX"
- configure_opts = []
+
+ # The configure.ac script may detect the wrong linker for
+ # LD_RO which causes issues at link time. Here we work around
+ # the issue saying we have no LD_RO executable.
+ configure_opts = ['--disable-ld-r']
+
# If using MPI then ensure the correct compiler wrapper is used.
if '+mpi' in spec:
configure_opts.extend([