On Sat, May 01, 2021 at 12:31:05AM +0200, Lucas Stach wrote:
> This breaks the build with gc11. For now go the same route as Fedora

Nit: s/gc11/gcc11/

 - Roland

> 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]
> 

-- 
Roland Hieber, Pengutronix e.K.          | [email protected]     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

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

Reply via email to