pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/mk/compiler



On Sat, Dec 31, 2022 at 08:35:38AM +0000, Thomas Klausner wrote:
> @@ -62,6 +62,12 @@ _RELRO_LDFLAGS=            -Wl,-zrelro -Wl,-znow
>  .else
>  _RELRO_LDFLAGS=              -Wl,-zrelro
>  .endif
> +# XXX Workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014301
> +# Set manually the maxpagesize to 4096 which is ok for now since NetBSD only
> +# supports relro by default on x86 and aarch64
> +.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 109901
> +_RELRO_LDFLAGS+=     -Wl,-z,max-page-size=4096
> +.endif

So restrict it to those archs? This is affected other architectures...

Joerg



Home | Main Index | Thread Index | Old Index