Skip to content
Snippets Groups Projects
Commit fd47acb5 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

fix[sda]: build breaks on gcc@11, maybe related to change of default C++ standard

parent affede1e
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ class Sda(MakefilePackage):
makefile = FileFilter('src/Makefile')
makefile.filter(r'gfortran', spack_fc)
makefile.filter(r'^\s*FC\s*=.*', 'FC = ' + spack_fc)
makefile.filter(r'^CFLAG += -O3', 'CFLAG += -std=gnu++14 -O3')
makefile.filter(r'^\s*CC_plus\s*=.*', 'CXX = ' + spack_cxx)
makefile.filter(r'\${CC_plus}', '${CXX}')
makefile.filter(r'^\s*CC_moins\s*=.*', 'CC = ' + spack_cc)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment