summaryrefslogtreecommitdiff
path: root/user/grub/fix-gcc-no-pie-specs.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 04:02:34 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-27 04:02:34 -0500
commit97a9fa2a372686cc873d1f966a769d3d80a7f054 (patch)
tree5b31a1ecbb1830f395f90ce032ff7d566171e996 /user/grub/fix-gcc-no-pie-specs.patch
parent93c5f6a80e136230cc7972d1c36e2bd922f83d52 (diff)
downloadpackages-97a9fa2a372686cc873d1f966a769d3d80a7f054.tar.gz
packages-97a9fa2a372686cc873d1f966a769d3d80a7f054.tar.bz2
packages-97a9fa2a372686cc873d1f966a769d3d80a7f054.tar.xz
packages-97a9fa2a372686cc873d1f966a769d3d80a7f054.zip
user/grub: pull in, take, modernise a bit
Diffstat (limited to 'user/grub/fix-gcc-no-pie-specs.patch')
-rw-r--r--user/grub/fix-gcc-no-pie-specs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/grub/fix-gcc-no-pie-specs.patch b/user/grub/fix-gcc-no-pie-specs.patch
new file mode 100644
index 000000000..273c9dbe3
--- /dev/null
+++ b/user/grub/fix-gcc-no-pie-specs.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig
++++ ./configure.ac
+@@ -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
+- EFIEMU64_LINK_FORMAT="-Wl,$grub_cv_target_cc_efiemu64_link_format"
++ EFIEMU64_LINK_FORMAT="-Wl,$grub_cv_target_cc_efiemu64_link_format -no-pie"
+ fi
+ fi
+ if test x"$enable_efiemu" = xyes && test x"$efiemu_excuse" != x ; then