gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 05/11] build/module/grub: disable -Werror on builds


From: Leah Rowe
Subject: [PATCH v3 05/11] build/module/grub: disable -Werror on builds
Date: Tue, 16 Jan 2024 15:39:34 +0000

From: Leah Rowe <leah@libreboot.org>

A user on the GNU Boot IRC channel had trouble building
GRUB from GNU Boot, on a current Gentoo system as of 13
January 2024, due to how newer GCC versions treat all
warnings as errors.

Use the "--disable-werror" option on the ./configure
script, to disable treating warnings as errors. This is
also what the coreboot build system does, when building
GRUB images, but GNU Boot builds GRUB itself, without
relying on the logic in coreboot to do it.

Signed-off-by: Leah Rowe <leah@libreboot.org>
---
 resources/packages/grub/module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/packages/grub/module b/resources/packages/grub/module
index 62ce0e2..46146ab 100755
--- a/resources/packages/grub/module
+++ b/resources/packages/grub/module
@@ -44,6 +44,6 @@ cd grub/
 
 # build
 ./autogen.sh
-./configure --with-platform=coreboot
+./configure --with-platform=coreboot --disable-werror
 make -j$(nproc)
 )
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]