summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorbecker33 <becker33@llnl.gov>2017-07-25 13:51:56 -0700
committerGitHub <noreply@github.com>2017-07-25 13:51:56 -0700
commit30f6d2ab9026fea79fb6623f80bf51a68df16818 (patch)
treee549c9e60f558318ebc4984fa777c542c48c3d0a /var
parent6693dc1092d3809fc540b29732aed25b0be9fccc (diff)
downloadspack-30f6d2ab9026fea79fb6623f80bf51a68df16818.tar.gz
spack-30f6d2ab9026fea79fb6623f80bf51a68df16818.tar.bz2
spack-30f6d2ab9026fea79fb6623f80bf51a68df16818.tar.xz
spack-30f6d2ab9026fea79fb6623f80bf51a68df16818.zip
fix callpath bug (#4659)
* fix callpath bug I found while testing env/cc * fix hanging indent for flake
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/callpath/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/callpath/package.py b/var/spack/repos/builtin/packages/callpath/package.py
index 9ded62e5c5..813e491dfd 100644
--- a/var/spack/repos/builtin/packages/callpath/package.py
+++ b/var/spack/repos/builtin/packages/callpath/package.py
@@ -46,7 +46,9 @@ class Callpath(Package):
# TODO: offer options for the walker used.
cmake_args = std_cmake_args
if spec.satisfies("^dyninst@9.3.0:"):
- cmake_args.append("-DCMAKE_CXX_FLAGS='-std=c++11 -fpermissive'")
+ std_flag = self.compiler.cxx11_flag
+ cmake_args.append("-DCMAKE_CXX_FLAGS='{0} -fpermissive'".format(
+ std_flag))
cmake('.', "-DCALLPATH_WALKER=dyninst", *cmake_args)
make()
make("install")