app-arch/unrar: don't call AR directly
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 18 Apr 2020 18:54:53 +0000 (20:54 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 18 Apr 2020 18:54:53 +0000 (20:54 +0200)
Closes: https://bugs.gentoo.org/718072
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
app-arch/unrar/unrar-5.9.2.ebuild

index c2d18f5b6e61df7abb09a2d9e792035e6dfbb3f9..2f0948aecb5f834fda9a56e1a7a19c50bc94d08f 100644 (file)
@@ -46,7 +46,7 @@ src_configure() {
 
 src_compile() {
        unrar_make() {
-               emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
+               emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
        }
 
        unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib