HomeFreeBSD

lang/php*: link with -znotext on i386

Description

lang/php*: link with -znotext on i386

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, 230207
Approved by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17193

Details

Provenance
emasteAuthored on
Differential Revision
D17193: lang/php*: link with -znotext on i386
Parents
rP480034: multimedia/openh264: add -znotext to LDFLAGS on i386, for lld
Branches
Unknown
Tags
Unknown