pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/mk
On Mon, Jul 20, 2026 at 02:42:11PM +0000, Thomas Klausner wrote:
> Module Name: pkgsrc
> Committed By: wiz
> Date: Mon Jul 20 14:42:11 UTC 2026
>
> Modified Files:
> pkgsrc/mk: compiler.mk
>
> Log Message:
> mk: stop passing relro linker flags to compiler
>
> The relro flags are added to LDFLAGS, and that should be sufficient.
> Packages not honoring LDFLAGS need to be fixed anyway, and clang
> complains about the flags on the compiler command line.
>
This change needs more justification, it breaks the build of packages
like archivers/unlzx.
_RELRO_LDFLAGS are flags /for the compiler/, i.e. prefixed with -Wl.
LDFLAGS is always passed to the compiler, never directly to ld(1).
Home |
Main Index |
Thread Index |
Old Index