svn commit: r489690 - head/audio/deadbeef

Ed Maste emaste at FreeBSD.org
Tue Jan 8 14:06:19 UTC 2019


Author: emaste (src committer)
Date: Tue Jan  8 14:06:17 2019
New Revision: 489690
URL: https://svnweb.freebsd.org/changeset/ports/489690

Log:
  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

Modified:
  head/audio/deadbeef/Makefile

Modified: head/audio/deadbeef/Makefile
==============================================================================
--- head/audio/deadbeef/Makefile	Tue Jan  8 13:47:08 2019	(r489689)
+++ head/audio/deadbeef/Makefile	Tue Jan  8 14:06:17 2019	(r489690)
@@ -27,6 +27,7 @@ CPPFLAGS+=	-I../dumb/dumb-kode54/include -I../../plugi
 		-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


More information about the svn-ports-head mailing list