summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/consul/consul-1.15.7.ebuild')
-rw-r--r--app-admin/consul/consul-1.15.7.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-admin/consul/consul-1.15.7.ebuild b/app-admin/consul/consul-1.15.7.ebuild
index 61b9d17d1af3..2b693c361655 100644
--- a/app-admin/consul/consul-1.15.7.ebuild
+++ b/app-admin/consul/consul-1.15.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,6 +30,10 @@ src_prepare() {
}
src_compile() {
+ if use x86; then
+ #924629 pie breaks build on x86
+ GOFLAGS=${GOFLAGS//-buildmode=pie}
+ fi
# The dev target sets causes build.sh to set appropriate XC_OS
# and XC_ARCH, and skips generation of an unused zip file,
# avoiding a dependency on app-arch/zip.