Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 20:00:51 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480074 - head/audio/libopenspc
Message-ID:  <201809182000.w8IK0pHA029727@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809182000.w8IK0pHA029727>