mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
parent
158cf2a194
commit
466a43c75f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489690
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue