packages need to reference self.spec instead of spec (#5075)
This commit is contained in:

committed by
Adam J. Stewart

parent
056faad3a2
commit
14076c52f1
@@ -46,7 +46,7 @@ def cmake_args(self):
|
||||
# TODO: offer options for the walker used.
|
||||
args = ["-DCALLPATH_WALKER=dyninst"]
|
||||
|
||||
if spec.satisfies("^dyninst@9.3.0:"):
|
||||
if self.spec.satisfies("^dyninst@9.3.0:"):
|
||||
std_flag = self.compiler.cxx11_flag
|
||||
args.append("-DCMAKE_CXX_FLAGS='{0} -fpermissive'".format(
|
||||
std_flag))
|
||||
|
Reference in New Issue
Block a user