1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

multimedia/ffmpeg: allow LTO with Clang on powerpc64

This commit is contained in:
Piotr Kubaj 2023-08-08 12:24:51 +02:00
parent b28becc54a
commit 2f34ef65e7

View File

@ -666,16 +666,10 @@ LICENSE_TEXT_NONFREE= enabling OPENSSL or FDK_AAC restricts redistribution
LICENSE_PERMS_NONFREE= auto-accept
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == powerpc64 && ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang
USE_GCC= yes
.endif
post-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${DOC_FILES}" ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \
"${DOC_DOCFILES}" ${STAGEDIR}${DOCSDIR})
.include <bsd.port.post.mk>
.include <bsd.port.mk>