summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2019-08-07 12:08:54 +0200
committerJoonas Niilola <juippis@gentoo.org>2019-08-18 17:57:21 +0300
commit00ce000ed8e629a7befc507288db655081db0cd1 (patch)
treed69df659674228351a195fc47bc93558f88864b4 /eclass
parentsci-geosciences/qmapshack: bump to 1.13.1 (diff)
downloadgentoo-00ce000ed8e629a7befc507288db655081db0cd1.tar.gz
gentoo-00ce000ed8e629a7befc507288db655081db0cd1.tar.bz2
gentoo-00ce000ed8e629a7befc507288db655081db0cd1.zip
qmail.eclass: honor toolchain settings for ar and ranlib
Closes: https://bugs.gentoo.org/471436 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Closes: https://github.com/gentoo/gentoo/pull/12631 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qmail.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/qmail.eclass b/eclass/qmail.eclass
index 552a37d55871..150b6c00aab3 100644
--- a/eclass/qmail.eclass
+++ b/eclass/qmail.eclass
@@ -102,6 +102,7 @@ qmail_set_cc() {
echo "${cc} ${CFLAGS} ${CPPFLAGS}" > ./conf-cc || die 'Patching conf-cc failed.'
echo "${ld} ${LDFLAGS}" > ./conf-ld || die 'Patching conf-ld failed.'
+ sed -e "s#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i make-makelib.sh
}
# @FUNCTION: qmail_create_groups