mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
app-admin/consul: Disable pie for x86
Bug: https://bugs.gentoo.org/924629 Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user