aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2018-09-27 00:12:12 +0800
committeremaste <emaste@FreeBSD.org>2018-09-27 00:12:12 +0800
commit60279d141a108042caecd4ee9dbbf9e89b2c6d99 (patch)
tree04964e84769ceaf209ed3f5f1261b819bfb55c22 /multimedia
parent3898de35c8dcd17235a542e48d3f63b4a06b9385 (diff)
downloadfreebsd-ports-gnome-60279d141a108042caecd4ee9dbbf9e89b2c6d99.tar.gz
freebsd-ports-gnome-60279d141a108042caecd4ee9dbbf9e89b2c6d99.tar.zst
freebsd-ports-gnome-60279d141a108042caecd4ee9dbbf9e89b2c6d99.zip
Add -znotext to LDFLAGS on i386, for lld
These ports link 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
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-ffmpeg/Makefile1
-rw-r--r--multimedia/libass/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/multimedia/gstreamer-ffmpeg/Makefile b/multimedia/gstreamer-ffmpeg/Makefile
index 50c1d343db92..ac3082ded560 100644
--- a/multimedia/gstreamer-ffmpeg/Makefile
+++ b/multimedia/gstreamer-ffmpeg/Makefile
@@ -27,6 +27,7 @@ USE_LDCONFIG= yes
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
PLIST_SUB= VERSION="${PORTVERSION:R}"
+LDFLAGS_i386= -Wl,-znotext
OPTIONS_DEFINE= FFMPEG
FFMPEG_DESC?= Use system ffmpeg instead of internal libav
diff --git a/multimedia/libass/Makefile b/multimedia/libass/Makefile
index 4f46875ca325..7fca5fa8fa43 100644
--- a/multimedia/libass/Makefile
+++ b/multimedia/libass/Makefile
@@ -20,6 +20,7 @@ USES= autoreconf iconv libtool pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
+LDFLAGS_i386= -Wl,-znotext
OPTIONS_DEFINE= HARFBUZZ
OPTIONS_DEFAULT=HARFBUZZ