diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-09-25 14:42:34 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-09-25 14:42:34 +0000 |
commit | 7f633b976f1fde4ac97add303b9698c8a5ce546e (patch) | |
tree | 5a7a57b6065d5b421222bcbf7aec8240f306699c /audio | |
parent | eef8b139b62be785c71a00fc28149a88de376667 (diff) |
audio/triceratops-lv2: 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: 214864
Approved by: portmgr (lld blanket)
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=480666
Diffstat (limited to 'audio')
-rw-r--r-- | audio/triceratops-lv2/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/triceratops-lv2/Makefile b/audio/triceratops-lv2/Makefile index d23421dbd139..6de2365e1d4f 100644 --- a/audio/triceratops-lv2/Makefile +++ b/audio/triceratops-lv2/Makefile @@ -21,6 +21,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ USES= compiler:c++11-lang pkgconfig waf USE_GNOME= cairo cairomm gdkpixbuf2 gtk20 gtkmm24 NO_WRKSUBDIR= yes +LDFLAGS_i386= -Wl,-znotext post-install: @${STRIP_CMD} \ |