* grub-core/genmod.sh.in: Add -R .note.GNU-stack to strip.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-26 22:57:26 +01:00
parent 6cf1363b8f
commit e7d2a906b0
2 changed files with 6 additions and 2 deletions

View file

@ -60,7 +60,7 @@ 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 -R .comment $tmpfile || exit 1
-R .note.GNU-stack -R .note -R .comment $tmpfile || exit 1
fi
else
# XXX Test these Apple CC fixes