svn commit: r484698 - head/multimedia/libx264

Jan Beich jbeich at FreeBSD.org
Sun Nov 11 15:39:59 UTC 2018


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


More information about the svn-ports-all mailing list