audio/deadbeef: 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:		233412
Approved by:	portmgr (lld blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2019-01-08 14:06:17 +00:00
parent 158cf2a194
commit 466a43c75f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489690

View file

@ -27,6 +27,7 @@ CPPFLAGS+= -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff \
-I./sidplay-libs/libsidplay/include/sidplay \
-I${LOCALBASE}/include
CFLAGS+= -Wno-narrowing
LDFLAGS_i386= -Wl,-z,notext
LIBS+= -L${LOCALBASE}/lib -lexecinfo -lintl
USE_GNOME= intltool
INSTALLS_ICONS= yes