HomeFreeBSD

math/z3: add -znotext to LDFLAGS on i386, for lld

Description

math/z3: 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
rP480035: lang/php*: link with -znotext on i386
Branches
Unknown
Tags
Unknown