summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-20 18:50:36 +0000
committerSam James <sam@gentoo.org>2022-03-20 18:51:34 +0000
commit7b402b94726e70f8f047b06bda8455dfd59b74e7 (patch)
treefa3089d055882a256539cdd35315ea34e553e1fa /sci-physics/root
parentsci-physics/pythia: [QA] fix tc-get* quoting (diff)
downloadgentoo-7b402b94726e70f8f047b06bda8455dfd59b74e7.tar.gz
gentoo-7b402b94726e70f8f047b06bda8455dfd59b74e7.tar.bz2
gentoo-7b402b94726e70f8f047b06bda8455dfd59b74e7.zip
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 <sam@gentoo.org>
Diffstat (limited to 'sci-physics/root')
-rw-r--r--sci-physics/root/root-6.24.06-r2.ebuild6
-rw-r--r--sci-physics/root/root-6.26.00.ebuild6
-rw-r--r--sci-physics/root/root-6.26.9999.ebuild6
-rw-r--r--sci-physics/root/root-9999.ebuild6
4 files changed, 12 insertions, 12 deletions
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-)