commit:     6baa862f05d6c45396a62840b2ab2eb678101fcd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 00:47:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 00:47:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6baa862f

dev-libs/libowfat: [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-libs/libowfat/libowfat-0.32-r1.ebuild | 4 ++--
 dev-libs/libowfat/libowfat-0.32-r5.ebuild | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/libowfat/libowfat-0.32-r1.ebuild 
b/dev-libs/libowfat/libowfat-0.32-r1.ebuild
index 77774d4f7f6d..c1eedcac7645 100644
--- a/dev-libs/libowfat/libowfat-0.32-r1.ebuild
+++ b/dev-libs/libowfat/libowfat-0.32-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -25,7 +25,7 @@ pkg_setup() {
 
 src_compile() {
        emake \
-               CC=$(tc-getCC) \
+               CC="$(tc-getCC)" \
                CFLAGS="-I. ${CFLAGS}" \
                DIET="${EPREFIX}/usr/bin/diet -Os" \
                prefix="${EPREFIX}/usr" \

diff --git a/dev-libs/libowfat/libowfat-0.32-r5.ebuild 
b/dev-libs/libowfat/libowfat-0.32-r5.ebuild
index 6dbdd3e205c5..da8af4daacc6 100644
--- a/dev-libs/libowfat/libowfat-0.32-r5.ebuild
+++ b/dev-libs/libowfat/libowfat-0.32-r5.ebuild
@@ -39,9 +39,9 @@ src_prepare() {
 
 src_compile() {
        emake \
-               CC=$(tc-getCC) \
-               AR=$(tc-getAR) \
-               RANLIB=$(tc-getRANLIB) \
+               CC="$(tc-getCC)" \
+               AR="$(tc-getAR)" \
+               RANLIB="$(tc-getRANLIB)" \
                CFLAGS="-I. ${CFLAGS}" \
                DIET="${EPREFIX}/usr/bin/diet -Os" \
                prefix="${EPREFIX}/usr" \

Reply via email to