scorpio: add -Wno-error=implicit-function-declaration for Arm compiler (#36827)
This commit is contained in:
parent
6d366c39ae
commit
03ba24b370
@ -28,6 +28,6 @@ class Scorpio(CMakePackage):
|
||||
|
||||
def cmake_args(self):
|
||||
opts = []
|
||||
if self.spec.satisfies("%apple-clang@12:"):
|
||||
if self.spec.satisfies("%apple-clang@12:") or self.spec.satisfies("%arm@23.04:"):
|
||||
opts.append(self.define("CMAKE_C_FLAGS", "-Wno-error=implicit-function-declaration"))
|
||||
return opts
|
||||
|
Loading…
Reference in New Issue
Block a user