aboutsummaryrefslogtreecommitdiff
path: root/audio/libopenspc
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-09-18 20:00:51 +0000
committerEd Maste <emaste@FreeBSD.org>2018-09-18 20:00:51 +0000
commit052ef3be8b9078f192f20a3787eb3206f944ec82 (patch)
tree5c08a6083b5d55746cf2d41a9fa204bfe6c6c2e6 /audio/libopenspc
parent6f4fe62015178ad68735a70a9a888cadb94ce279 (diff)
downloadports-052ef3be8b9078f192f20a3787eb3206f944ec82.tar.gz
ports-052ef3be8b9078f192f20a3787eb3206f944ec82.zip
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
Notes
Notes: svn path=/head/; revision=480074
Diffstat (limited to 'audio/libopenspc')
-rw-r--r--audio/libopenspc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/libopenspc/Makefile b/audio/libopenspc/Makefile
index 6060952aa6a9..00ef005c69a4 100644
--- a/audio/libopenspc/Makefile
+++ b/audio/libopenspc/Makefile
@@ -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