Thanks, applied as 893418f41b8ef946f7913a225ec99a389e32379f.

Michael

[sent from post-receive hook]

On Thu, 27 May 2021 08:45:24 +0200, Lucas Stach <[email protected]> wrote:
> This breaks the build with gcc11. For now go the same route as Fedora
> and just disable the warning.
> 
> Signed-off-by: Lucas Stach <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to