From 83e6fd61b2b49283c6cfc8dfa682baf04af65782 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 7 Mar 2014 20:43:55 +0000 Subject: [PATCH] Stop GCC adding extra sections (for "build ID") that can confuse objcopy and lead to GRUB binaries totaling larger than 500MB! git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48834 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/all-pc/boot/grub/mmakefile.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/all-pc/boot/grub/mmakefile.src b/arch/all-pc/boot/grub/mmakefile.src index 4f64ae366f..438103606e 100644 --- a/arch/all-pc/boot/grub/mmakefile.src +++ b/arch/all-pc/boot/grub/mmakefile.src @@ -1,4 +1,4 @@ -# Copyright © 2004-2013, The AROS Development Team. All rights reserved. +# Copyright © 2004-2014, The AROS Development Team. All rights reserved. # $Id$ include $(TOP)/config/make.cfg @@ -19,7 +19,7 @@ grub-copy-stages : $(AROSARCHDIR)/grub/stage1 $(AROSARCHDIR)/grub/stage2 $(AROSA # OR MAKE SURE -fno-stack-protector IS DETECTED IF COMPILER SUPPORTS IT %build_with_configure mmake=grub compiler=kernel install_target= \ - extraoptions="$(GRUBOPTS)" + extraoptions="$(GRUBOPTS)" extracflags="-Wl,--build-id=none" $(AROSARCHDIR)/grub/stage1: $(GENDIR)/$(CURDIR)/stage1/stage1 %mkdirs_q $(dir $@) -- 2.11.4.GIT