svn commit: r545727 - head/multimedia/ffmpeg
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Aug 22 00:46:59 UTC 2020
Author: pkubaj
Date: Sat Aug 22 00:46:58 2020
New Revision: 545727
URL: https://svnweb.freebsd.org/changeset/ports/545727
Log:
multimedia/ffmpeg: fix runtime on powerpc64 elfv2 with LTO
ffmpeg crashes instantly when built with LTO by clang on powerpc64.
Modified:
head/multimedia/ffmpeg/Makefile
Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile Fri Aug 21 23:15:38 2020 (r545726)
+++ head/multimedia/ffmpeg/Makefile Sat Aug 22 00:46:58 2020 (r545727)
@@ -630,6 +630,12 @@ DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAI
DOC_DOCFILES= APIchanges *.txt
PORTDOCS= *
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MLTO}
+USE_GCC= yes
+.endif
+
post-patch:
# {C,LD}FLAGS safeness
@${REINPLACE_CMD} -E \
More information about the svn-ports-head
mailing list