aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2018-08-05 18:24:48 +0800
committerriggs <riggs@FreeBSD.org>2018-08-05 18:24:48 +0800
commitfe23f40b2d238d4ba226fc0521d18605fd96184b (patch)
treeb80afc460e616549333b19ccd185120d92419d06 /multimedia
parentb39eb6498d8a9c28175ef1f66dcda5fb29b21a1d (diff)
downloadfreebsd-ports-gnome-fe23f40b2d238d4ba226fc0521d18605fd96184b.tar.gz
freebsd-ports-gnome-fe23f40b2d238d4ba226fc0521d18605fd96184b.tar.zst
freebsd-ports-gnome-fe23f40b2d238d4ba226fc0521d18605fd96184b.zip
Set LLD_UNSAFE on i386 in preparation for switch to lld on FreeBSD 12
PR: 230208 Reported by: emaste
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xvid/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile
index 1b5a5506d36e..b7f2f829379d 100644
--- a/multimedia/xvid/Makefile
+++ b/multimedia/xvid/Makefile
@@ -36,6 +36,12 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
.endif
+
+.if ${ARCH}=="i386"
+# relocation against symbol in readonly segment
+LLD_UNSAFE= yes
+.endif
+
.if ${ARCH} == "amd64" || ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:devel/nasm
.endif