summaryrefslogblamecommitdiff
path: root/user/grub/0010-fix-gcc-no-pie-specs.patch
blob: ecd59d24df267e436f1ec48d952fe41f9f3e2c67 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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