summaryrefslogtreecommitdiff
path: root/user/grub/0010-fix-gcc-no-pie-specs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/grub/0010-fix-gcc-no-pie-specs.patch')
-rw-r--r--user/grub/0010-fix-gcc-no-pie-specs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/grub/0010-fix-gcc-no-pie-specs.patch b/user/grub/0010-fix-gcc-no-pie-specs.patch
new file mode 100644
index 000000000..ecd59d24d
--- /dev/null
+++ b/user/grub/0010-fix-gcc-no-pie-specs.patch
@@ -0,0 +1,12 @@
+diff -ur a/configure b/configure
+--- a/configure 2023-10-03 12:10:39.434444137 -0500
++++ b/configure 2023-10-03 12:10:58.731025605 -0500
+@@ -37616,7 +37616,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