summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 1012055549..7edfb8d453 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -885,6 +885,8 @@ class Trilinos(CMakePackage, CudaPackage):
if sys.platform == 'darwin':
options.append(define('Trilinos_ENABLE_FEI', False))
+ if '+stk' in spec:
+ cxx_flags.extend(['-DSTK_NO_BOOST_STACKTRACE'])
if sys.platform == 'darwin' and macos_version() >= Version('10.12'):
# use @rpath on Sierra due to limit of dynamic loader