diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-09-20 18:33:21 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-09-20 18:33:21 +0000 |
commit | 40d07c6c3c66214709165874fa7a46e596719828 (patch) | |
tree | 89720871a9c2d208584528de49163b2c15c40685 /multimedia/x265 | |
parent | 580767bcc42fc7bea0bc2b34956c2cddbd631c2b (diff) | |
download | ports-40d07c6c3c66214709165874fa7a46e596719828.tar.gz ports-40d07c6c3c66214709165874fa7a46e596719828.zip |
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
Notes
Notes:
svn path=/head/; revision=480188
Diffstat (limited to 'multimedia/x265')
-rw-r--r-- | multimedia/x265/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/x265/Makefile b/multimedia/x265/Makefile index 8d50a04f736b..f63bc224be57 100644 --- a/multimedia/x265/Makefile +++ b/multimedia/x265/Makefile @@ -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 |