Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2018 10:24:49 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476404 - head/multimedia/xvid
Message-ID:  <201808051024.w75AOnK5036520@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sun Aug  5 10:24:48 2018
New Revision: 476404
URL: https://svnweb.freebsd.org/changeset/ports/476404

Log:
  Set LLD_UNSAFE on i386 in preparation for switch to lld on FreeBSD 12
  
  PR:		230208
  Reported by:	emaste

Modified:
  head/multimedia/xvid/Makefile

Modified: head/multimedia/xvid/Makefile
==============================================================================
--- head/multimedia/xvid/Makefile	Sun Aug  5 10:05:07 2018	(r476403)
+++ head/multimedia/xvid/Makefile	Sun Aug  5 10:24:48 2018	(r476404)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808051024.w75AOnK5036520>