[rtems-source-builder commit] grub2.cfg: fix GRUB compilation with GCC 12.
Karel Gardas
karel at rtems.org
Sun Mar 19 22:09:28 UTC 2023
Module: rtems-source-builder
Branch: master
Commit: 0054104e37aa870aab87294207fc20396312106f
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=0054104e37aa870aab87294207fc20396312106f
Author: Karel Gardas <karel at functional.vision>
Date: Sun Mar 19 23:13:15 2023 +0100
grub2.cfg: fix GRUB compilation with GCC 12.
---
source-builder/config/grub2.cfg | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source-builder/config/grub2.cfg b/source-builder/config/grub2.cfg
index 2333d6a..174b846 100644
--- a/source-builder/config/grub2.cfg
+++ b/source-builder/config/grub2.cfg
@@ -56,7 +56,8 @@ URL: https://www.gnu.org/software/grub/index.html
--mandir=%{_mandir} --infodir=%{_infodir} \
--with-platform=%{grub2_platform} \
--target=%{grub2_target} \
- --disable-libzfs # broken on FreeBSD and not needed at all
+ --disable-libzfs \ # broken on FreeBSD and not needed at all
+ --disable-werror # fixes compilation by GCC 12
%{__make} %{?_smp_mflags} all
More information about the vc
mailing list