diff options
Diffstat (limited to 'dev-cpp/benchmark/benchmark-1.5.2.ebuild')
| -rw-r--r-- | dev-cpp/benchmark/benchmark-1.5.2.ebuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dev-cpp/benchmark/benchmark-1.5.2.ebuild b/dev-cpp/benchmark/benchmark-1.5.2.ebuild index ccdf771385b2..840648c7edc2 100644 --- a/dev-cpp/benchmark/benchmark-1.5.2.ebuild +++ b/dev-cpp/benchmark/benchmark-1.5.2.ebuild @@ -11,10 +11,14 @@ SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="test" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="debug test" RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}/${P}-Add-missing-limits-inclusion.patch" +) + src_configure() { local mycmakeargs=( -DBENCHMARK_ENABLE_TESTING=$(usex test) @@ -22,5 +26,7 @@ src_configure() { -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF ) + use debug || append-cppflags -DNDEBUG + cmake_src_configure } |
