summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2021-12-14 23:54:32 -0500
committerMike Gilbert <floppym@gentoo.org>2021-12-14 23:56:54 -0500
commit7c1b967ad02495722e66e18e2e6645388cf384e3 (patch)
tree6f73a8dce8c5d588c19a79836daddee8a0681621 /sys-boot/grub
parentdev-java/openjdk: Stabilize 17.0.1_p12 arm64, #829002 (diff)
downloadgentoo-7c1b967ad02495722e66e18e2e6645388cf384e3.tar.gz
gentoo-7c1b967ad02495722e66e18e2e6645388cf384e3.tar.bz2
gentoo-7c1b967ad02495722e66e18e2e6645388cf384e3.zip
sys-boot/grub: remove '-pie' from LDFLAGS
Closes: https://bugs.gentoo.org/829165 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-boot/grub')
-rw-r--r--sys-boot/grub/grub-2.06-r1.ebuild3
-rw-r--r--sys-boot/grub/grub-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-boot/grub/grub-2.06-r1.ebuild b/sys-boot/grub/grub-2.06-r1.ebuild
index 4224c4f643f1..7e5bd76ac9d0 100644
--- a/sys-boot/grub/grub-2.06-r1.ebuild
+++ b/sys-boot/grub/grub-2.06-r1.ebuild
@@ -242,6 +242,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}
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}