summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/octopus/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/octopus/package.py b/var/spack/repos/builtin/packages/octopus/package.py
index 71784f0603..3690feb1c3 100644
--- a/var/spack/repos/builtin/packages/octopus/package.py
+++ b/var/spack/repos/builtin/packages/octopus/package.py
@@ -300,6 +300,12 @@ class Octopus(AutotoolsPackage, CudaPackage):
args.append(f"{cxxflags} {gcc10_extra}")
args.append(f"{cflags} {gcc10_extra}")
+ # Disable flags
+ #
+ # disable gdlib explicitly to avoid
+ # autotools picking gdlib up from the system
+ args.append("--disable-gdlib")
+
return args
@run_after("install")