[PATCH] grub2.cfg: fix GRUB compilation with GCC 12.

Chris Johns chrisj at rtems.org
Sun Mar 19 22:22:36 UTC 2023


Ok to push

Thanks
Chris

On 20/3/2023 9:13 am, Karel Gardas wrote:
> ---
>  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 devel mailing list