svn commit: r480074 - head/audio/libopenspc

Ed Maste emaste at FreeBSD.org
Tue Sep 18 20:00:52 UTC 2018


Author: emaste (src committer)
Date: Tue Sep 18 20:00:51 2018
New Revision: 480074
URL: https://svnweb.freebsd.org/changeset/ports/480074

Log:
  audio/libopenspc: allow linking with lld on i386
  
  By default lld does not allow relocations against read-only segments.
  Add -Wl,-znotext to override the default.  No effect on GNU ld, where
  this just reaffirms the default.
  
  Approved by:	portmgr (lld blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/audio/libopenspc/Makefile

Modified: head/audio/libopenspc/Makefile
==============================================================================
--- head/audio/libopenspc/Makefile	Tue Sep 18 19:58:55 2018	(r480073)
+++ head/audio/libopenspc/Makefile	Tue Sep 18 20:00:51 2018	(r480074)
@@ -17,6 +17,7 @@ GNU_CONFIGURE=	yes
 USES=		gmake libtool
 USE_LDCONFIG=	yes
 ONLY_FOR_ARCHS=	i386
+LDFLAGS_i386=	-Wl,-znotext
 
 PLIST_FILES=	include/openspc.h lib/libopenspc.a \
 		lib/libopenspc.so lib/libopenspc.so.0 lib/libopenspc.so.0.0.3


More information about the svn-ports-head mailing list