From 7d8a519a02d47831b4835b6b8db6115ff45c4902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 17 Mar 2021 08:27:10 +0700 Subject: [PATCH] injeqt: disable coverage --- srcpkgs/injeqt/template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/srcpkgs/injeqt/template b/srcpkgs/injeqt/template index 1e5777fc0f..78eba09a02 100644 --- a/srcpkgs/injeqt/template +++ b/srcpkgs/injeqt/template @@ -3,7 +3,8 @@ pkgname=injeqt version=1.2.0 revision=2 build_style=cmake -hostmakedepends="pkg-config" +configure_args="-DDISABLE_COVERAGE=ON" +hostmakedepends="pkg-config qt5-qmake qt5-host-tools" makedepends="qt5-devel" short_desc="Dependency injection framework for Qt" maintainer="Jürgen Buchmüller " @@ -12,9 +13,6 @@ homepage="https://github.com/vogel/injeqt/" distfiles="https://github.com/vogel/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=77540cedb0b26affe993dd18124d796059e34c80a51d9ae6433fdff1860db135 -if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-host-tools qt5-devel" -fi CXXFLAGS="-fno-lifetime-dse -Wno-error=cast-align" injeqt-devel_package() {