* Makefile.am: Strip gold section.
* conf/Makefile.common: Likewise. * gentpl.py: Likewise. * grub-core/Makefile.core.def: Likewise. * grub-core/genmod.sh.in: Likewise.
This commit is contained in:
parent
1039c8eba4
commit
0f021838c4
6 changed files with 19 additions and 10 deletions
|
@ -453,7 +453,7 @@ def image(platform):
|
|||
if test x$(USE_APPLE_CC_FIXES) = xyes; then \
|
||||
$(MACHO2IMG) $< $@; \
|
||||
else \
|
||||
$(OBJCOPY) $(""" + cname() + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn $< $@; \
|
||||
$(OBJCOPY) $(""" + cname() + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version $< $@; \
|
||||
fi
|
||||
""")
|
||||
return r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue