diff options
author | Sam James <sam@gentoo.org> | 2022-03-20 00:36:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-20 00:36:51 +0000 |
commit | e27d6c8236023010bb49d8b9cfbd9208cd445aa2 (patch) | |
tree | 7296b1f7d8f77c24e92c0d424602769edd097f1d /dev-util/cccc | |
parent | dev-util/btyacc: [QA] fix tc-get* quoting (diff) | |
download | gentoo-e27d6c8236023010bb49d8b9cfbd9208cd445aa2.tar.gz gentoo-e27d6c8236023010bb49d8b9cfbd9208cd445aa2.tar.bz2 gentoo-e27d6c8236023010bb49d8b9cfbd9208cd445aa2.zip |
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@gentoo.org>
Diffstat (limited to 'dev-util/cccc')
-rw-r--r-- | dev-util/cccc/cccc-3.1.5-r1.ebuild | 10 | ||||
-rw-r--r-- | 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() { |