git: 2f34ef65e717 - main - multimedia/ffmpeg: allow LTO with Clang on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 08 Aug 2023 14:59:06 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f34ef65e717573d30cf6d0db838b9f31e892345

commit 2f34ef65e717573d30cf6d0db838b9f31e892345
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-08 10:24:51 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-08 14:58:32 +0000

    multimedia/ffmpeg: allow LTO with Clang on powerpc64
---
 multimedia/ffmpeg/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 7d4a5b9177c2..f2ce2b01b1cb 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -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>