Skip to content

Commit

Permalink
dev-util/uftrace: [QA] fix tc-get* quoting
Browse files Browse the repository at this point in the history
This can cause build problems for e.g. 32-bit (gcc -m32 ...)

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Mar 20, 2022
1 parent fb8de3f commit bc81afd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dev-util/uftrace/uftrace-0.10-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -35,7 +35,7 @@ src_prepare() {

src_configure() {
local myconf=(
--libdir="${EPREFIX}"/usr/$(get_libdir)/uftrace
--libdir="${EPREFIX}/usr/$(get_libdir)/uftrace"
$(use_with capstone)
--without-libpython
)
Expand All @@ -48,7 +48,7 @@ src_configure() {
--without-libluajit
)
fi
CC=$(tc-getCC) LD=$(tc-getLD) econf "${myconf[@]}"
CC="$(tc-getCC)" LD="$(tc-getLD)" econf "${myconf[@]}"
}

src_compile() {
Expand Down
6 changes: 3 additions & 3 deletions dev-util/uftrace/uftrace-0.11.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -41,7 +41,7 @@ src_prepare() {

src_configure() {
local myconf=(
--libdir="${EPREFIX}"/usr/$(get_libdir)/uftrace
--libdir="${EPREFIX}/usr/$(get_libdir)/uftrace"
$(use_with capstone)
$(use_with unwind libunwind)
$(use_with python libpython)
Expand All @@ -55,7 +55,7 @@ src_configure() {
--without-libluajit
)
fi
CC=$(tc-getCC) LD=$(tc-getLD) econf "${myconf[@]}"
CC="$(tc-getCC)" LD="$(tc-getLD)" econf "${myconf[@]}"
}

src_compile() {
Expand Down

0 comments on commit bc81afd

Please sign in to comment.