diff options
author | emaste <emaste@FreeBSD.org> | 2018-09-27 00:12:12 +0800 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2018-09-27 00:12:12 +0800 |
commit | 60279d141a108042caecd4ee9dbbf9e89b2c6d99 (patch) | |
tree | 04964e84769ceaf209ed3f5f1261b819bfb55c22 /multimedia | |
parent | 3898de35c8dcd17235a542e48d3f63b4a06b9385 (diff) | |
download | freebsd-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/Makefile | 1 | ||||
-rw-r--r-- | multimedia/libass/Makefile | 1 |
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 |