aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/ffmpeg/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index f4a26b6592e8..e1a1eb8a8a27 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -630,6 +630,12 @@ DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \
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 \