py-matplotlib %oneapi: add cxxflags=-Wno-error=register (#39469)
This commit is contained in:
parent
3347372a7b
commit
b613bf3855
@ -261,6 +261,12 @@ def config_file(self):
|
||||
def archive_files(self):
|
||||
return [os.path.join(self.build_directory, self.config_file)]
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "cxxflags":
|
||||
if self.spec.satisfies("%oneapi"):
|
||||
flags.append("-Wno-error=register")
|
||||
return (flags, None, None)
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
include = []
|
||||
library = []
|
||||
|
Loading…
Reference in New Issue
Block a user