git: 2059b93bb880 - main - Mk/Features/lto.mk: allow LTO on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 10 Aug 2023 20:02:57 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2059b93bb88061bc2899e8cd954a90b291d3ab86

commit 2059b93bb88061bc2899e8cd954a90b291d3ab86
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-10 20:00:56 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-10 20:02:29 +0000

    Mk/Features/lto.mk: allow LTO on powerpc64
---
 Mk/Features/lto.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Mk/Features/lto.mk b/Mk/Features/lto.mk
index aadd27b5d61f..d8db2da3d028 100644
--- a/Mk/Features/lto.mk
+++ b/Mk/Features/lto.mk
@@ -8,8 +8,8 @@ _LTO_MK_INCLUDED=	yes
 LTO_Include_MAINTAINER=	pkubaj@FreeBSD.org
 
 .  if !defined(LTO_UNSAFE) || defined(LTO_DISABLE_CHECK)
-.    if "${ARCH}" == "powerpc64" || "${ARCH}" == "riscv64" && !defined(LTO_DISABLE_CHECK)
-       DEV_WARNING+=	"LTO is currently broken on powerpc64 and riscv64, to override set LTO_DISABLE_CHECK=yes"
+.    if "${ARCH}" == "riscv64" && !defined(LTO_DISABLE_CHECK)
+       DEV_WARNING+=	"LTO is currently broken on riscv64, to override set LTO_DISABLE_CHECK=yes"
 .    elif defined(_INCLUDE_USES_CARGO_MK)
    CARGO_ENV+=	CARGO_PROFILE_RELEASE_LTO="true" \
 		CARGO_PROFILE_RELEASE_PANIC="abort" \