This breaks the build with gc11. For now go the same route as Fedora and just disable the warning.
Signed-off-by: Lucas Stach <[email protected]> --- rules/host-nss.make | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rules/host-nss.make b/rules/host-nss.make index f51d4e0f531f..b2fb2bd3ec81 100644 --- a/rules/host-nss.make +++ b/rules/host-nss.make @@ -28,9 +28,10 @@ HOST_NSS_MAKE_ENV := \ NSPR_INCLUDE_DIR=$(PTXDIST_SYSROOT_HOST)/include/nspr \ $(if $(filter x86_64%,$(GNU_HOST)),USE_64=1) -# needed for old glibc +# needed for old glibc and gcc11 HOST_NSS_CFLAGS := \ - -D_XOPEN_SOURCE + -D_XOPEN_SOURCE \ + -Wno-array-parameter HOST_NSS_MAKE_OPT := \ all -- 2.29.2 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
