From 7c1b967ad02495722e66e18e2e6645388cf384e3 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Tue, 14 Dec 2021 23:54:32 -0500 Subject: sys-boot/grub: remove '-pie' from LDFLAGS Closes: https://bugs.gentoo.org/829165 Signed-off-by: Mike Gilbert --- sys-boot/grub/grub-9999.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys-boot/grub/grub-9999.ebuild') diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild index 7ba93a504196..8f568dfed408 100644 --- a/sys-boot/grub/grub-9999.ebuild +++ b/sys-boot/grub/grub-9999.ebuild @@ -240,6 +240,9 @@ src_configure() { # Bug 508758. replace-flags -O3 -O2 + # Workaround for bug 829165. + filter-ldflags -pie + # We don't want to leak flags onto boot code. export HOST_CCASFLAGS=${CCASFLAGS} export HOST_CFLAGS=${CFLAGS} -- cgit v1.2.3-65-gdbad