commit: e27d6c8236023010bb49d8b9cfbd9208cd445aa2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 00:36:51 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 00:36:51 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e27d6c82
dev-util/cccc: [QA] fix tc-get* quoting
This can cause build problems for e.g. 32-bit (gcc -m32 ...)
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/cccc/cccc-3.1.5-r1.ebuild | 10 +++++-----
dev-util/cccc/cccc-3.1.6.ebuild | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/dev-util/cccc/cccc-3.1.5-r1.ebuild
b/dev-util/cccc/cccc-3.1.5-r1.ebuild
index dae3638d11a6..e65776be2ba5 100644
--- a/dev-util/cccc/cccc-3.1.5-r1.ebuild
+++ b/dev-util/cccc/cccc-3.1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -35,16 +35,16 @@ src_prepare() {
src_compile() {
tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY
if use debug ; then
- DEBUG="true" emake -j1 CCC=$(tc-getCXX) CC=$(tc-getCC) cccc
+ DEBUG="true" emake -j1 CCC="$(tc-getCXX)" CC="$(tc-getCC)" cccc
else
- emake -j1 CCC=$(tc-getCXX) CC=$(tc-getCC) cccc
+ emake -j1 CCC="$(tc-getCXX)" CC="$(tc-getCC)" cccc
fi
- use apidoc && emake -j1 CCC=$(tc-getCXX) metrics docs
+ use apidoc && emake -j1 CCC="$(tc-getCXX)" metrics docs
}
src_test() {
- emake -j1 CCC=$(tc-getCXX) test
+ emake -j1 CCC="$(tc-getCXX)" test
}
src_install() {
diff --git a/dev-util/cccc/cccc-3.1.6.ebuild b/dev-util/cccc/cccc-3.1.6.ebuild
index 412e571310bd..07e35cae7b41 100644
--- a/dev-util/cccc/cccc-3.1.6.ebuild
+++ b/dev-util/cccc/cccc-3.1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -35,16 +35,16 @@ src_prepare() {
src_compile() {
tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY
if use debug ; then
- DEBUG="true" emake -j1 CCC=$(tc-getCXX) CC=$(tc-getCC) cccc
+ DEBUG="true" emake -j1 CCC="$(tc-getCXX)" CC="$(tc-getCC)" cccc
else
- emake -j1 CCC=$(tc-getCXX) CC=$(tc-getCC) cccc
+ emake -j1 CCC="$(tc-getCXX)" CC="$(tc-getCC)" cccc
fi
- use apidoc && emake -j1 CCC=$(tc-getCXX) metrics docs
+ use apidoc && emake -j1 CCC="$(tc-getCXX)" metrics docs
}
src_test() {
- emake -j1 CCC=$(tc-getCXX) test
+ emake -j1 CCC="$(tc-getCXX)" test
}
src_install() {