1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

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)
This commit is contained in:
Jan Beich 2018-11-11 15:39:57 +00:00
parent 9ac8c6a332
commit 81181e8612
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=484698

View File

@ -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