* 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:
Vladimir 'phcoder' Serbinenko 2012-03-10 16:55:48 +01:00
parent 1039c8eba4
commit 0f021838c4
6 changed files with 19 additions and 10 deletions

View file

@ -60,7 +60,8 @@ if test x@TARGET_APPLE_CC@ != x1; then
@STRIP@ --strip-unneeded \
-K grub_mod_init -K grub_mod_fini \
-K _grub_mod_init -K _grub_mod_fini \
-R .note.GNU-stack -R .note -R .comment $tmpfile || exit 1
-R .note.gnu.gold-version -R .note.GNU-stack \
-R .note -R .comment $tmpfile || exit 1
fi
else
tmpfile2=${outfile}.tmp2