svn commit: r494455 - head/multimedia/libmpeg2
Jan Beich
jbeich at FreeBSD.org
Sat Mar 2 21:33:56 UTC 2019
Author: jbeich
Date: Sat Mar 2 21:33:55 2019
New Revision: 494455
URL: https://svnweb.freebsd.org/changeset/ports/494455
Log:
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
Modified:
head/multimedia/libmpeg2/Makefile (contents, props changed)
Modified: head/multimedia/libmpeg2/Makefile
==============================================================================
--- head/multimedia/libmpeg2/Makefile Sat Mar 2 21:15:33 2019 (r494454)
+++ head/multimedia/libmpeg2/Makefile Sat Mar 2 21:33:55 2019 (r494455)
@@ -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
More information about the svn-ports-all
mailing list