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
Branches
Tags
No related merge requests found
...@@ -174,7 +174,11 @@ def edit(self, spec, prefix): ...@@ -174,7 +174,11 @@ def edit(self, spec, prefix):
cxxflags.append('-fp-model precise') cxxflags.append('-fp-model precise')
fcflags.extend(['-fp-model source', '-heap-arrays 64']) fcflags.extend(['-fp-model source', '-heap-arrays 64'])
elif '%gcc' in spec: 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: elif '%pgi' in spec:
fcflags.extend(['-Mfreeform', '-Mextend']) 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