aboutsummaryrefslogtreecommitdiffstats
path: root/main/grub/fix-gcc-no-pie-specs.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-12 14:11:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-12 14:11:21 +0000
commitca4d7072d5d9d83366ed64cfa56b13845c9af119 (patch)
tree739cb3e216b934980b76bd833a61bf2db6438bd6 /main/grub/fix-gcc-no-pie-specs.patch
parentf7bde17f0c3087a6ca79a3fb9b5df89a3df9b1c7 (diff)
downloadaports-ca4d7072d5d9d83366ed64cfa56b13845c9af119.tar.bz2
aports-ca4d7072d5d9d83366ed64cfa56b13845c9af119.tar.xz
main/grub: upgrade to 2.02
Diffstat (limited to 'main/grub/fix-gcc-no-pie-specs.patch')
-rw-r--r--main/grub/fix-gcc-no-pie-specs.patch11
1 files changed, 1 insertions, 10 deletions
diff --git a/main/grub/fix-gcc-no-pie-specs.patch b/main/grub/fix-gcc-no-pie-specs.patch
index b14c0be3cc..273c9dbe39 100644
--- a/main/grub/fix-gcc-no-pie-specs.patch
+++ b/main/grub/fix-gcc-no-pie-specs.patch
@@ -1,6 +1,6 @@
--- ./configure.ac.orig
+++ ./configure.ac
-@@ -1092,7 +1092,7 @@
+@@ -1100,7 +1100,7 @@
if test x"$grub_cv_target_cc_efiemu64_link_format" = xunknown; then
efiemu_excuse="no suitable link format for efiemu64 found"
else
@@ -9,12 +9,3 @@
fi
fi
if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then
-@@ -1188,7 +1188,7 @@
- [# Need that, because some distributions ship compilers that include
- # `-fPIE' and '-pie' in the default specs.
- if [ x"$pie_possible" = xyes ]; then
-- TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIE"
-+ TARGET_CFLAGS="$TARGET_CFLAGS -no-pie"
- fi
- if [ x"$nopie_possible" = xyes ] && [ x"$pie_possible" = xyes ]; then
- TARGET_LDFLAGS="$TARGET_LDFLAGS -no-pie"