diff --git a/app-admin/kube-bench/kube-bench-0.6.8.ebuild b/app-admin/kube-bench/kube-bench-0.6.8.ebuild index 4d7ff54265c5f..0e29d40ffca44 100644 --- a/app-admin/kube-bench/kube-bench-0.6.8.ebuild +++ b/app-admin/kube-bench/kube-bench-0.6.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,6 +13,11 @@ LICENSE="Apache-2.0 MIT MPL-2.0 BSD BSD-2" SLOT="0" KEYWORDS="~amd64" +src_prepare() { + default + sed -i -e 's/-short -race/-short/' makefile || die +} + src_compile() { emake KUBEBENCH_VERSION=v${PV} build }