HomeFreeBSD

graphics/mesa-drivers: add -znotext to LDFLAGS on i386, for lld

Description

graphics/mesa-drivers: add -znotext to LDFLAGS on i386, for lld

This port links some non-PIC code, which fails with lld as it defaults
to disallowing relocations against read-only segments. For i386 we can
just add -znotext unconditionally: for GNU BFD ld it just affirms BFD's
existing default.

PR: 214864
Approved by: portmgr (lld blanket)
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rP480188: multimedia/x265: add -znotext to LDFLAGS on i386, for lld
Branches
Unknown
Tags
Unknown