summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-20 00:48:52 +0000
committerSam James <sam@gentoo.org>2022-03-20 00:48:52 +0000
commit0fd16197012812e4c0134cf9d92919d0f6b9533a (patch)
tree478fd266b93b60b809633f70fef858d224c6e1e7 /dev-libs/libpfm
parentdev-libs/shhopt: [QA] fix tc-get* quoting (diff)
downloadgentoo-0fd16197012812e4c0134cf9d92919d0f6b9533a.tar.gz
gentoo-0fd16197012812e4c0134cf9d92919d0f6b9533a.tar.bz2
gentoo-0fd16197012812e4c0134cf9d92919d0f6b9533a.zip
dev-libs/libpfm: [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-libs/libpfm')
-rw-r--r--dev-libs/libpfm/libpfm-4.10.1-r1.ebuild4
-rw-r--r--dev-libs/libpfm/libpfm-4.11.0.ebuild2
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-libs/libpfm/libpfm-4.10.1-r1.ebuild b/dev-libs/libpfm/libpfm-4.10.1-r1.ebuild
index faac7cd052bc..e184cff1e527 100644
--- a/dev-libs/libpfm/libpfm-4.10.1-r1.ebuild
+++ b/dev-libs/libpfm/libpfm-4.10.1-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=7
@@ -25,7 +25,7 @@ src_prepare() {
src_compile() {
# 'DBG=' unsets '-Werror' and other optional flags, bug #664294
- emake AR=$(tc-getAR) CC=$(tc-getCC) DBG=
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" DBG=
}
src_install() {
diff --git a/dev-libs/libpfm/libpfm-4.11.0.ebuild b/dev-libs/libpfm/libpfm-4.11.0.ebuild
index c5109aebff56..a3868b0f5074 100644
--- a/dev-libs/libpfm/libpfm-4.11.0.ebuild
+++ b/dev-libs/libpfm/libpfm-4.11.0.ebuild
@@ -25,7 +25,7 @@ src_prepare() {
src_compile() {
# 'DBG=' unsets '-Werror' and other optional flags, bug #664294
- emake AR=$(tc-getAR) CC=$(tc-getCC) DBG=
+ emake AR="$(tc-getAR)" CC="$(tc-getCC)" DBG=
}
src_install() {