craype fix for omega-h (#23504)
add -Wno-final-dtor-non-final-class flag
This commit is contained in:
parent
2913000d92
commit
829199a460
@ -93,4 +93,8 @@ def flag_handler(self, name, flags):
|
||||
flags = list(flags)
|
||||
if name == 'cxxflags':
|
||||
flags.append(self.compiler.cxx11_flag)
|
||||
|
||||
if self.spec.satisfies('%cce'):
|
||||
flags.append("-Wno-final-dtor-non-final-class")
|
||||
|
||||
return (None, None, flags)
|
||||
|
Loading…
Reference in New Issue
Block a user