boost %oneapi: add cxxflags -Wno-error=enum-constexpr-conversion
This commit is contained in:
parent
90921b4fd6
commit
553429a7d3
@ -431,6 +431,12 @@ def url_for_version(self, version):
|
||||
|
||||
return url.format(version.dotted, version.underscored)
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "cxxflags":
|
||||
if self.spec.satisfies("@1.79.0 %oneapi"):
|
||||
flags.append("-Wno-error=enum-constexpr-conversion")
|
||||
return (flags, None, None)
|
||||
|
||||
def determine_toolset(self, spec):
|
||||
toolsets = {
|
||||
"g++": "gcc",
|
||||
|
Loading…
Reference in New Issue
Block a user