mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/heirloom-tools: respect AR/RANLIB
Closes: https://bugs.gentoo.org/725712 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
This commit is contained in:
@@ -34,10 +34,18 @@ PATCHES=(
|
||||
# slightly broken
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "s/\bar\b/$(tc-getAR)/g" libwchar/Makefile.mk || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake -j1 \
|
||||
CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CFLAGS2="${CFLAGS}" \
|
||||
CFLAGSS="${CFLAGS}" \
|
||||
|
||||
Reference in New Issue
Block a user