aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2021-04-20 17:59:44 +0200
committerFlorian Schmaus <flo@geekplace.eu>2021-04-20 18:00:14 +0200
commit0bf98e2d183ea65967dba46f09c270071e82c4a2 (patch)
treedbf4c97309d360d3069211769b79b644cc696b90 /app-arch
parentgui-apps/corestuff: add missing dep (diff)
downloadguru-0bf98e2d183ea65967dba46f09c270071e82c4a2.tar.gz
guru-0bf98e2d183ea65967dba46f09c270071e82c4a2.tar.bz2
guru-0bf98e2d183ea65967dba46f09c270071e82c4a2.zip
app-arch/tarlz: respect CXX and CPPFLAGS
Closes: https://bugs.gentoo.org/784491 Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/tarlz/tarlz-0.19-r3.ebuild (renamed from app-arch/tarlz/tarlz-0.19-r2.ebuild)8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-arch/tarlz/tarlz-0.19-r2.ebuild b/app-arch/tarlz/tarlz-0.19-r3.ebuild
index 86091b0f2..ac53651c5 100644
--- a/app-arch/tarlz/tarlz-0.19-r2.ebuild
+++ b/app-arch/tarlz/tarlz-0.19-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit unpacker
+inherit toolchain-funcs unpacker
DESCRIPTION="A parallel archiver combining tar and lzip"
HOMEPAGE="https://www.nongnu.org/lzip/tarlz.html"
@@ -25,5 +25,9 @@ PATCHES=(
)
src_configure() {
- econf LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
+ econf \
+ CXX="$(tc-getCXX)" \
+ CXXFLAGS="${CXXFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
}