aports/main/grub/0006-build-force-no-pie.patch
Dermot Bradley 0f3c992e98 main/grub: upgrade to 2.12
Upgrade to Grub 2.12.

Remove patches no longer required and rename/tweak existing patches
still required.

Add a minor fix to get Grub 2.12 to build (upstream forgot to include
a necessary, but empty, file that build requires.
2024-01-04 11:18:16 +00:00

20 lines
692 B
Diff

8826c39fdbf7988c73ae42846a8cf0cfbd81fbad build: force -no-pie
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9c5fa618d..dffdaa9e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1254,7 +1254,7 @@ if test x"$efiemu_excuse" = x ; then
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
--
2.39.2