svn commit: r507608 - head/multimedia/ffmpeg
Jan Beich
jbeich at FreeBSD.org
Mon Jul 29 23:56:18 UTC 2019
Author: jbeich
Date: Mon Jul 29 23:56:17 2019
New Revision: 507608
URL: https://svnweb.freebsd.org/changeset/ports/507608
Log:
multimedia: unbreak on aarch64, armv7 and 12.1 i386 after r507589 and r507592
/usr/bin/ld: error: can't create dynamic relocation R_AARCH64_ABS64 against local symbol in readonly segment; recompile object files with -fPIC
>>> defined in libavcodec/aarch64/fft_neon.o
>>> referenced by libavcodec/aarch64/fft_neon.o:(fft_tab_neon)
/usr/bin/ld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: fft4_neon in readonly segment; recompile object files with -fPIC
>>> defined in libavcodec/arm/fft_fixed_neon.o
>>> referenced by libavcodec/arm/fft_fixed_neon.o:(fft_fixed_tab_neon)
/usr/bin/ld: error: can't create dynamic relocation R_ARM_ABS32 against symbol: fft4_neon in readonly segment; recompile object files with -fPIC
>>> defined in libavcodec/arm/fft_fixed_neon.o
>>> referenced by libavcodec/arm/fft_fixed_neon.o:(fft_fixed_tab_neon)
Modified:
head/multimedia/ffmpeg/Makefile (contents, props changed)
Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile Mon Jul 29 22:20:15 2019 (r507607)
+++ head/multimedia/ffmpeg/Makefile Mon Jul 29 23:56:17 2019 (r507608)
@@ -568,6 +568,10 @@ INSTALL_TARGET= install-progs install-doc install-data
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
MAKE_ENV+= V=1
+LDFLAGS_aarch64=-Wl,-z,notext
+LDFLAGS_armv6= -Wl,-z,notext
+LDFLAGS_armv7= -Wl,-z,notext
+LDFLAGS_i386= -Wl,-z,notext
CONFIGURE_ARGS+=--prefix="${PREFIX}" \
--mandir="${PREFIX}/man" \
More information about the svn-ports-head
mailing list