HDF: fix build with Apple Clang (#31235)
This commit is contained in:
parent
a6b0de3beb
commit
7bce92ad46
@ -171,6 +171,10 @@ def configure_args(self):
|
||||
'FCFLAGS=-fallow-argument-mismatch']
|
||||
)
|
||||
|
||||
# https://forum.hdfgroup.org/t/help-building-hdf4-with-clang-error-implicit-declaration-of-function-test-mgr-szip-is-invalid-in-c99/7680
|
||||
if self.spec.satisfies('@:4.2.15 %apple-clang'):
|
||||
config_args.append('CFLAGS=-Wno-error=implicit-function-declaration')
|
||||
|
||||
return config_args
|
||||
|
||||
# Otherwise, we randomly get:
|
||||
|
Loading…
Reference in New Issue
Block a user