fix unzip%nvhpc (#47109)
This commit is contained in:
parent
037196c2bd
commit
b582eacbc1
@ -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)}")
|
||||
|
Loading…
Reference in New Issue
Block a user