Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2018 15:39:58 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484698 - head/multimedia/libx264
Message-ID:  <201811111539.wABFdwcc047467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Nov 11 15:39:57 2018
New Revision: 484698
URL: https://svnweb.freebsd.org/changeset/ports/484698

Log:
  multimedia/libx264: unbreak on arm* with LLD
  
  ld: error: can't create dynamic relocation R_ARM_ABS32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
  >>> defined in common/arm/mc-a-8.o
  >>> referenced by common/arm/mc-a-8.o:(memcpy_table)

Modified:
  head/multimedia/libx264/Makefile   (contents, props changed)

Modified: head/multimedia/libx264/Makefile
==============================================================================
--- head/multimedia/libx264/Makefile	Sun Nov 11 15:39:42 2018	(r484697)
+++ head/multimedia/libx264/Makefile	Sun Nov 11 15:39:57 2018	(r484698)
@@ -14,6 +14,8 @@ LIB_DEPENDS=	#
 
 USES=		pathfix
 LDFLAGS_i386=	-Wl,-znotext
+LDFLAGS_armv6=	-Wl,-znotext
+LDFLAGS_armv7=	-Wl,-znotext
 
 OPTIONS_DEFINE=		ASM OPENCL
 OPTIONS_DEFAULT=	ASM OPENCL



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