fix callpath bug (#4659)

* fix callpath bug I found while testing env/cc

* fix hanging indent for flake
This commit is contained in:
becker33 2017-07-25 13:51:56 -07:00 committed by GitHub
parent 6693dc1092
commit 30f6d2ab90

View File

@ -46,7 +46,9 @@ def install(self, spec, prefix):
# TODO: offer options for the walker used. # TODO: offer options for the walker used.
cmake_args = std_cmake_args cmake_args = std_cmake_args
if spec.satisfies("^dyninst@9.3.0:"): 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) cmake('.', "-DCALLPATH_WALKER=dyninst", *cmake_args)
make() make()
make("install") make("install")