Skip to content

Commit

Permalink
multimedia/ffmpeg: allow LTO with Clang on powerpc64
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Aug 8, 2023
1 parent b28becc commit 2f34ef6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions multimedia/ffmpeg/Makefile
Expand Up @@ -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>

0 comments on commit 2f34ef6

Please sign in to comment.