* 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

@ -1,7 +1,11 @@
2012-02-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/genmod.sh.in: Add -R .note.GNU-stack to strip.
2012-02-26 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (insert_array): Remove scanner_name
argument since it can be deduced from diskfilter.
argument since it can be deduced from diskfilter. All users updated.
2012-02-26 Vladimir Serbinenko <phcoder@gmail.com>

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