git: c447a044bbc1 - main - Mk/Features/lto.mk: Use DEV_WARNING instead of IGNORE

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Fri, 06 Jan 2023 19:31:06 UTC
The branch main has been updated by diizzy:

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

commit c447a044bbc1aa83319aef908ab81460ac726248
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-06 19:26:29 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-06 19:30:53 +0000

    Mk/Features/lto.mk: Use DEV_WARNING instead of IGNORE
    
    Instead of using IGNORE issue a warning via DEV_WARNING instead.
    Change suggested by tobik
    
    Reviewed by:    pkubaj (via private mail)
---
 Mk/Features/lto.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/Features/lto.mk b/Mk/Features/lto.mk
index 0a5056e8c12f..d17484e05f53 100644
--- a/Mk/Features/lto.mk
+++ b/Mk/Features/lto.mk
@@ -9,7 +9,7 @@ LTO_Include_MAINTAINER=	pkubaj@FreeBSD.org
 
 .  if !defined(LTO_UNSAFE) || defined(LTO_DISABLE_CHECK)
 .    if "${ARCH}" == "powerpc64" || "${ARCH}" == "riscv64" && !defined(LTO_DISABLE_CHECK)
-       IGNORE=	LTO is currently broken on ${ARCH}, to override set LTO_DISABLE_CHECK=yes
+       DEV_WARNING+=	"LTO is currently broken on powerpc64 and 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" \