HomeFreeBSD

multimedia/xmms: add -znotext to LDFLAGS on i386, for lld

Description

multimedia/xmms: add -znotext to LDFLAGS on i386, for lld

Example error:
/usr/bin/ld: error: can't create dynamic relocation R_386_32 against

local symbol in readonly segment; recompile object files with -fPIC

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.

Details

Provenance
emasteAuthored on
Parents
rP479839: Cosmetic change: fix BROKEN message on powerpc64.
Branches
Unknown
Tags
Unknown