Closes: https://bugs.gentoo.org/659512
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
int_class=gmp
fi
local mycmakeargs=(
- -DARB_INCLUDE_DIR="${EPREFIX}/usr/include"
-DINTEGER_CLASS="${int_class}"
-DBUILD_BENCHMARKS="$(usex benchmarks)"
-DBUILD_DOXYGEN="$(usex doc)"
-DWITH_TCMALLOC="$(usex tcmalloc)"
-DWITH_ECM="$(usex ecm)"
)
+ use arb && mycmakeargs+=( -DARB_INCLUDE_DIR="${EPREFIX}/usr/include" )
+
test-flag-CXX -std=c++11 && append-cxxflags -std=c++11
cmake_src_configure
}