Skip to content
Snippets Groups Projects
Commit 4b3e43cc authored by Tiziano Müller's avatar Tiziano Müller Committed by Peter Scheibel
Browse files

packages/cp2k: build with -ggdb with GNU for backtraces

parent f343d6fc
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,11 @@ def edit(self, spec, prefix):
cxxflags.append('-fp-model precise')
fcflags.extend(['-fp-model source', '-heap-arrays 64'])
elif '%gcc' in spec:
fcflags.extend(['-ffree-form', '-ffree-line-length-none'])
fcflags.extend([
'-ffree-form',
'-ffree-line-length-none',
'-ggdb', # make sure we get proper Fortran backtraces
])
elif '%pgi' in spec:
fcflags.extend(['-Mfreeform', '-Mextend'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment