Date: Sat, 2 Mar 2019 21:33:55 +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: r494455 - head/multimedia/libmpeg2 Message-ID: <201903022133.x22LXt0d038406@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903022133.x22LXt0d038406>