From 74f9a035ae5218c30a87fa6d3c8c9111745319f4 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Mon, 4 May 2009 23:08:08 +0000 Subject: [package] grub: fix potential build issues on redhat/fedora host systems (should close: #3793) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15608 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../grub/patches/002-strip_note_gnu_build_id.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/grub/patches/002-strip_note_gnu_build_id.patch (limited to 'package/grub/patches/002-strip_note_gnu_build_id.patch') diff --git a/package/grub/patches/002-strip_note_gnu_build_id.patch b/package/grub/patches/002-strip_note_gnu_build_id.patch new file mode 100644 index 0000000000..40aa74dc79 --- /dev/null +++ b/package/grub/patches/002-strip_note_gnu_build_id.patch @@ -0,0 +1,22 @@ +--- a/stage1/Makefile.in ++++ b/stage1/Makefile.in +@@ -427,7 +427,7 @@ uninstall-am: uninstall-info-am uninstal + uninstall-nodist_pkglibDATA + + .exec: +- $(OBJCOPY) -O binary $< $@ ++ $(OBJCOPY) -O binary -R .comment -R .note -R .note.gnu.build-id $< $@ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: +--- a/stage2/Makefile.in ++++ b/stage2/Makefile.in +@@ -3244,7 +3244,7 @@ pxegrub: pxeloader diskless + -rm -f $@ + cat $^ > $@ + .exec: +- $(OBJCOPY) -O binary $< $@ ++ $(OBJCOPY) -O binary -R .comment -R .note -R .note.gnu.build-id $< $@ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: -- cgit v1.2.3