Skip to content
Snippets Groups Projects
Commit 4c653240 authored by Rob Latham's avatar Rob Latham Committed by Adam J. Stewart
Browse files

Sometimes debugging symbols are helpful (#14452)

parent 6d8ec889
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ class Argobots(AutotoolsPackage):
version("1.0a1", sha256="bef93e06026ddeba8809474923176803e64d08e1425672cd7c5b424c797d5d9d")
variant("valgrind", default=False, description="Enable Valgrind")
variant("debug", default=False, description="Compiled with debugging symbols")
depends_on("m4", type=("build"), when="@master")
depends_on("autoconf", type=("build"), when="@master")
......@@ -41,4 +42,9 @@ def configure_args(self):
else:
args.append('--disable-valgrind')
if '+debug' in self.spec:
args.append('--enable-debug=yes')
else:
args.append('--disable-debug')
return args
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment