app-arch/tarlz: respect CXX and CPPFLAGS

Closes: https://bugs.gentoo.org/784491
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
This commit is contained in:
Florian Schmaus 2021-04-20 17:59:44 +02:00
parent 7c90a3e564
commit 0bf98e2d18
No known key found for this signature in database
GPG Key ID: 2239A7E8F5852052

View File

@ -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}"
}