aboutsummaryrefslogtreecommitdiffstats
path: root/package/grub/patches
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-04 23:08:08 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-04 23:08:08 +0000
commita119d75d7edcce8a4abbb1fa25492b06903ad8e1 (patch)
tree258a48a57c155083d69a7da36436966ad719e9b7 /package/grub/patches
parenta1b6c47f535fcc68dcb45877ec14d789d3882642 (diff)
downloadupstream-a119d75d7edcce8a4abbb1fa25492b06903ad8e1.tar.gz
upstream-a119d75d7edcce8a4abbb1fa25492b06903ad8e1.tar.bz2
upstream-a119d75d7edcce8a4abbb1fa25492b06903ad8e1.zip
grub: fix potential build issues on redhat/fedora host systems (should close: #3793)
SVN-Revision: 15608
Diffstat (limited to 'package/grub/patches')
-rw-r--r--package/grub/patches/002-strip_note_gnu_build_id.patch22
1 files changed, 22 insertions, 0 deletions
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: