mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
R-packages.eclass: pass AR via MAKEFLAGS
Closes: https://bugs.gentoo.org/812113 Closes: https://bugs.gentoo.org/812110 Closes: https://bugs.gentoo.org/812107 Closes: https://bugs.gentoo.org/812104 Closes: https://bugs.gentoo.org/812101 Closes: https://bugs.gentoo.org/812098 Closes: https://bugs.gentoo.org/812095 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit eutils
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
EXPORT_FUNCTIONS src_unpack src_prepare src_compile src_install
|
||||
|
||||
@@ -34,7 +34,7 @@ R-packages_src_prepare() {
|
||||
|
||||
|
||||
R-packages_src_compile() {
|
||||
MAKEFLAGS="CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" R CMD INSTALL . -l "${WORKDIR}" "--byte-compile" || die
|
||||
MAKEFLAGS="AR=$(tc-getAR) CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" R CMD INSTALL . -l "${WORKDIR}" "--byte-compile" || die
|
||||
}
|
||||
|
||||
R-packages_src_install() {
|
||||
|
||||
Reference in New Issue
Block a user