1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

multimedia/libmpeg2: unbreak on armv7

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 ./.libs/libmpeg2arch.a(motion_comp_arm_s.o)
>>> referenced by motion_comp_arm_s.o:(.text+0x104) in archive ./.libs/libmpeg2arch.a

Reported by:	pkg-fallout
This commit is contained in:
Jan Beich 2019-03-02 21:33:55 +00:00
parent 2d9c514c8f
commit c27d24aadd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494455

View File

@ -15,6 +15,8 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-shared
LDFLAGS_armv6= -Wl,-z,notext
LDFLAGS_armv7= -Wl,-z,notext
PORTDOCS= libmpeg2.txt README