summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/yoda/package.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/yoda/package.py b/var/spack/repos/builtin/packages/yoda/package.py
index 4df95872ff..df7273389b 100644
--- a/var/spack/repos/builtin/packages/yoda/package.py
+++ b/var/spack/repos/builtin/packages/yoda/package.py
@@ -88,9 +88,8 @@ class Yoda(AutotoolsPackage):
def configure_args(self):
args = []
if self.spec.satisfies('@:1.6.0'):
- args += '--with-boost=' + self.spec['boost'].prefix
+ args.append('--with-boost=' + self.spec['boost'].prefix)
- if '+root' in self.spec:
- args += '--enable-root'
+ args.extend(self.enable_or_disable('root'))
return args