dev-util/promu-0.15.0: disable pie on arm

Signed-off-by: Nuno Silva <nuno.m.ribeiro.silva@tecnico.ulisboa.pt>
Closes: https://bugs.gentoo.org/941285
Closes: https://github.com/gentoo/gentoo/pull/39093
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Nuno Silva
2024-10-24 00:46:19 +01:00
committed by Zac Medico
parent a138a2d3a4
commit 6ad6992c77

View File

@@ -34,8 +34,9 @@ src_unpack() {
}
src_compile() {
if use x86; then
if use x86 || use arm; then
#917577 pie breaks build on x86
#941285 pie breaks build on arm
GOFLAGS=${GOFLAGS//-buildmode=pie}
fi
emake build