mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
app-shells/antibody: Don't build with -pie when testing
Closes: https://bugs.gentoo.org/893190 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -52,11 +52,19 @@ SRC_URI="
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-6.1.1_remove-failing-tests.patch" )
|
||||
|
||||
src_configure() {
|
||||
if use test; then
|
||||
GOFLAGS="${GOFLAGS/-buildmode=pie/-buildmode=exe}" # bug 893190
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local -a mygoargs=(
|
||||
-ldflags "-X main.version=${PV}"
|
||||
|
||||
Reference in New Issue
Block a user