craype fix for omega-h (#23504)

add -Wno-final-dtor-non-final-class flag
This commit is contained in:
lukebroskop 2021-05-10 16:31:27 -05:00 committed by GitHub
parent 2913000d92
commit 829199a460
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)