# HG changeset patch # User Pascal Bellard # Date 1654789137 0 # Node ID 85fc2431322f85e73dbb9e943822636a7b0ea1cd # Parent 33ed869afff254ee3dc6a85fcca6bdbf96342c9e grub4dos: binutils 2.37 support diff -r 33ed869afff2 -r 85fc2431322f grub4dos/receipt --- a/grub4dos/receipt Wed Jun 08 16:46:37 2022 +0000 +++ b/grub4dos/receipt Thu Jun 09 15:38:57 2022 +0000 @@ -31,7 +31,8 @@ sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \ util/grub-install.in sed -i 's|-O binary conftest|--only-section=.text &|' acinclude.m4 configure - sed -i 's|-O binary |&-R .note -R .comment -R .note.gnu.build-id |' stage?/Makefile* + sed -i 's|-O binary|--only-section=.text &|' stage?/Makefile* + sed -i 's|-Wl,-Ttext|-Wl,--section-start=.note.gnu.property=1000 &|' stage2/Makefile* sh ./configure CC=gcc-3 \ --enable-preset-menu=$stuff/menu.lst \ --without-curses \