svn commit: r480188 - head/multimedia/x265
Ed Maste
emaste at FreeBSD.org
Thu Sep 20 18:33:22 UTC 2018
Author: emaste (src committer)
Date: Thu Sep 20 18:33:21 2018
New Revision: 480188
URL: https://svnweb.freebsd.org/changeset/ports/480188
Log:
multimedia/x265: 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.
Approved by: portmgr (lld blanket)
Sponsored by: The FreeBSD Foundation
Modified:
head/multimedia/x265/Makefile
Modified: head/multimedia/x265/Makefile
==============================================================================
--- head/multimedia/x265/Makefile Thu Sep 20 18:13:03 2018 (r480187)
+++ head/multimedia/x265/Makefile Thu Sep 20 18:33:21 2018 (r480188)
@@ -44,6 +44,7 @@ USE_LDCONFIG= yes
CMAKE_ARGS= -DENABLE_PIC=on -DPLATFORM_LIBS=md -DENABLE_TESTS=on
CFLAGS_mips= -DNO_ATOMICS # cannot use lang/gcc
CFLAGS_mips64= -DNO_ATOMICS # cannot use lang/gcc
+LDFLAGS_i386= -Wl,-znotext
EXTRACT_AFTER_ARGS+= --exclude "md5*" --exclude compat
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/source
More information about the svn-ports-all
mailing list