[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/20] build/module/grub: disable -Werror on builds
From: |
Leah Rowe |
Subject: |
[PATCH 17/20] build/module/grub: disable -Werror on builds |
Date: |
Sun, 14 Jan 2024 15:55: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
- [PATCH 06/20] GRUB: Use reduced set of modules, (continued)
- [PATCH 06/20] GRUB: Use reduced set of modules, Leah Rowe, 2024/01/14
- [PATCH 07/20] grub.cfg: support ESP, btrfs subvols and extlinux, Leah Rowe, 2024/01/14
- [PATCH 09/20] build/boot/roms: skip building gnat on fam15h, Leah Rowe, 2024/01/14
- [PATCH 11/20] import util/dell-flash-unlock from lbmk 09bed9a4, Leah Rowe, 2024/01/14
- [PATCH 10/20] NEW MAINBOARD: Dell Latitude E6400, Leah Rowe, 2024/01/14
- [PATCH 14/20] build/boot/roms: support "normal" seabios configs, Leah Rowe, 2024/01/14
- [PATCH 13/20] use seabios revision from canoeboot 20231103, Leah Rowe, 2024/01/14
- [PATCH 12/20] import util/nvmutil from lbmk 09bed9a4, Leah Rowe, 2024/01/14
- [PATCH 15/20] coreboot/e6400_4mb: enable the grub payload, Leah Rowe, 2024/01/14
- [PATCH 08/20] Use newer coreboot revision from canoeboot 102ce12, Leah Rowe, 2024/01/14
- [PATCH 17/20] build/module/grub: disable -Werror on builds,
Leah Rowe <=
- [PATCH 18/20] coreboot/fam15h: fix binutils build error on gcc13, Leah Rowe, 2024/01/14
- [PATCH 16/20] cache cbfstool and ifdtool builds, Leah Rowe, 2024/01/14
- [PATCH 19/20] use memtest86plus 6.x instead of 5.x, Leah Rowe, 2024/01/14
- [PATCH 20/20] Add support for google gru_bob and gru_kevin, Leah Rowe, 2024/01/14