From 7b402b94726e70f8f047b06bda8455dfd59b74e7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 20 Mar 2022 18:50:36 +0000 Subject: sci-physics/root: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James --- sci-physics/root/root-6.24.06-r2.ebuild | 6 +++--- sci-physics/root/root-6.26.00.ebuild | 6 +++--- sci-physics/root/root-6.26.9999.ebuild | 6 +++--- sci-physics/root/root-9999.ebuild | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'sci-physics/root') diff --git a/sci-physics/root/root-6.24.06-r2.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild index baa622feb887..d0010c0eb95c 100644 --- a/sci-physics/root/root-6.24.06-r2.ebuild +++ b/sci-physics/root/root-6.24.06-r2.ebuild @@ -152,9 +152,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_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-) diff --git a/sci-physics/root/root-6.26.00.ebuild b/sci-physics/root/root-6.26.00.ebuild index 43196c9075de..fc9568849f88 100644 --- a/sci-physics/root/root-6.26.00.ebuild +++ b/sci-physics/root/root-6.26.00.ebuild @@ -152,9 +152,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_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++14 || usev c++17) | cut -c4-) diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild index 2dda688768c6..9089f78b2f9a 100644 --- a/sci-physics/root/root-6.26.9999.ebuild +++ b/sci-physics/root/root-6.26.9999.ebuild @@ -163,9 +163,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_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++14 || usev c++17) | cut -c4-) diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild index 17abcfdfccb2..5b33a45e4b12 100644 --- a/sci-physics/root/root-9999.ebuild +++ b/sci-physics/root/root-9999.ebuild @@ -163,9 +163,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_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-) -- cgit v1.2.3-65-gdbad