casper: fix compilation errors on newer compilers (#30142)
This commit is contained in:
parent
974beb4ffc
commit
d1d86d68f1
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@ class Casper(MakefilePackage):
|
|||
|
||||
conflicts('%gcc@7.1.0')
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name.lower() == 'cxxflags':
|
||||
flags.append(self.compiler.cxx98_flag)
|
||||
return (flags, None, None)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
install_tree('.', prefix)
|
||||
|
||||
|
|
Loading…
Reference in a new issue