[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[for 0.1 release 05/11] build/module/grub: disable -Werror on builds
From: |
Leah Rowe |
Subject: |
[for 0.1 release 05/11] build/module/grub: disable -Werror on builds |
Date: |
Tue, 16 Jan 2024 01:24:45 +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
- [for 0.1 release 01/11] crossgcc/default: fix build errors on host gcc 13.x, Leah Rowe, 2024/01/15
- [for 0.1 release 02/11] grub.cfg: support ESP, btrfs subvols and extlinux, Leah Rowe, 2024/01/15
- [for 0.1 release 04/11] cache cbfstool and ifdtool builds, Leah Rowe, 2024/01/15
- [for 0.1 release 07/11] GRUB: Force scancode set 2 with translation, Leah Rowe, 2024/01/15
- [for 0.1 release 05/11] build/module/grub: disable -Werror on builds,
Leah Rowe <=
- [for 0.1 release 03/11] build/boot/roms: skip building gnat on fam15h, Leah Rowe, 2024/01/15
- [for 0.1 release 06/11] coreboot/fam15h: fix binutils build error on gcc13, Leah Rowe, 2024/01/15
- [for 0.1 release 08/11] GRUB: Don't spew "Unknown key 0xFF", Leah Rowe, 2024/01/15
- [for 0.1 release 09/11] NEW MAINBOARD: Dell Latitude E6400, Leah Rowe, 2024/01/15
- [for 0.1 release 11/11] add .log files to .gitignore, Leah Rowe, 2024/01/15
- [for 0.1 release 10/11] Add support for google gru_bob and gru_kevin, Leah Rowe, 2024/01/15