Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2025 17:07:38 GMT
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9bc25ee236c4 - main - sysutils/grub2-efi: Fix build with GCC 14
Message-ID:  <202502061707.516H7ceQ072391@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by salvadore:

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

commit 9bc25ee236c4abd6b2cca81b2c845a9380f0008e
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2025-02-06 16:37:39 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2025-02-06 17:07:07 +0000

    sysutils/grub2-efi: Fix build with GCC 14
    
    GCC 14 turns some warnings into errors. Switch them back to warnings.
    
    PR:             284483
---
 sysutils/grub2-efi/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysutils/grub2-efi/Makefile b/sysutils/grub2-efi/Makefile
index 4c184e08558f..6adabb040567 100644
--- a/sysutils/grub2-efi/Makefile
+++ b/sysutils/grub2-efi/Makefile
@@ -32,6 +32,7 @@ CPE_VENDOR=	gnu
 CONFIGURE_ARGS=	--with-platform=efi --disable-werror --localedir=${PREFIX}/share/locale
 CONFIGURE_ENV=	CPP="${CC} -E" \
 		LEX=${LOCALBASE}/bin/flex
+CFLAGS+=	-fpermissive
 
 .include <bsd.port.pre.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502061707.516H7ceQ072391>