summaryrefslogtreecommitdiff
path: root/dev-cpp/benchmark/benchmark-1.5.2.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
commit8e8120eabdd28020aa69c7a60505cce2edd20adc (patch)
tree061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-cpp/benchmark/benchmark-1.5.2.ebuild
parentc16790af2c9b4cbc38e565d4311252193ff85484 (diff)
downloadbaldeagleos-repo-21.1.2.tar.gz
baldeagleos-repo-21.1.2.tar.xz
baldeagleos-repo-21.1.2.zip
Updating liguros repo21.1.2
Diffstat (limited to 'dev-cpp/benchmark/benchmark-1.5.2.ebuild')
-rw-r--r--dev-cpp/benchmark/benchmark-1.5.2.ebuild10
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
}