fix unzip%nvhpc (#47109)

This commit is contained in:
Thomas-Ulrich 2024-10-22 04:44:14 +02:00 committed by GitHub
parent 037196c2bd
commit b582eacbc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,8 +28,9 @@ def get_make_args(self):
make_args = ["-f", join_path("unix", "Makefile")]
cflags = []
cflags.append("-Wno-error=implicit-function-declaration")
cflags.append("-Wno-error=implicit-int")
if not self.spec.satisfies("%nvhpc"):
cflags.append("-Wno-error=implicit-function-declaration")
cflags.append("-Wno-error=implicit-int")
cflags.append("-DLARGE_FILE_SUPPORT")
make_args.append(f"LOC={' '.join(cflags)}")