diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/dealii/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/dealii/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py index 186d17db1e..222691c69e 100644 --- a/var/spack/repos/builtin/packages/dealii/package.py +++ b/var/spack/repos/builtin/packages/dealii/package.py @@ -602,6 +602,11 @@ class Dealii(CMakePackage, CudaPackage): options.extend( [ self.define("CMAKE_CXX_FLAGS_RELEASE", " ".join(cxx_flags_release)), + ] + ) + if len(cxx_flags) > 0: + options.extend( + [ self.define("CMAKE_CXX_FLAGS", " ".join(cxx_flags)), ] ) |