commit: 33e57de11ce61793afbbfa7f498297e14be13bda
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 1 11:28:30 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 1 11:28:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e57de1
sci-physics/root: use same compiler for C++ and CUDA in live ebuild
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-physics/root/root-9999.ebuild
b/sci-physics/root/root-9999.ebuild
index 5a0ccb7679d..60e7f05e2b1 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -154,6 +154,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
+ -DCMAKE_C_COMPILER=$(tc-getCC)
+ -DCMAKE_CXX_COMPILER=$(tc-getCXX)
+ -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX)
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17)
| cut -c4-)