summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-03-22 18:53:25 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-03-22 18:53:47 +0100
commitc02dabd4c84d394480aa27da41f82c5096991817 (patch)
tree7af5624fffb6170a7bca67abd1aad7a5ca4da4c6 /sys-devel/slibtool
parentdev-db/mariadb: don't install mariadb.pc file (diff)
downloadgentoo-c02dabd4c84d394480aa27da41f82c5096991817.tar.gz
gentoo-c02dabd4c84d394480aa27da41f82c5096991817.tar.bz2
gentoo-c02dabd4c84d394480aa27da41f82c5096991817.zip
sys-devel/slibtool: Don't call cc directly
Closes: https://bugs.gentoo.org/765754 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-devel/slibtool')
-rw-r--r--sys-devel/slibtool/slibtool-0.5.31.ebuild8
-rw-r--r--sys-devel/slibtool/slibtool-0.5.32.ebuild8
-rw-r--r--sys-devel/slibtool/slibtool-9999.ebuild8
3 files changed, 21 insertions, 3 deletions
diff --git a/sys-devel/slibtool/slibtool-0.5.31.ebuild b/sys-devel/slibtool/slibtool-0.5.31.ebuild
index eda2745f7f3b..8e04399c378f 100644
--- a/sys-devel/slibtool/slibtool-0.5.31.ebuild
+++ b/sys-devel/slibtool/slibtool-0.5.31.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
# git.foss21.org is the official repository per upstream
DESCRIPTION="A skinny libtool implementation, written in C"
HOMEPAGE="https://git.foss21.org/slibtool"
@@ -14,5 +16,9 @@ KEYWORDS="~amd64 ~arm ~ia64 ~sparc"
src_configure() {
# custom configure script (not generated by autoconf)
- ./configure --host=${CHOST} --prefix="${EPREFIX}"/usr || die
+ ./configure \
+ --compiler=$(tc-getCC) \
+ --host=${CHOST} \
+ --prefix="${EPREFIX}"/usr \
+ || die
}
diff --git a/sys-devel/slibtool/slibtool-0.5.32.ebuild b/sys-devel/slibtool/slibtool-0.5.32.ebuild
index a4787084a907..2e1f61f16a76 100644
--- a/sys-devel/slibtool/slibtool-0.5.32.ebuild
+++ b/sys-devel/slibtool/slibtool-0.5.32.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
# git.foss21.org is the official repository per upstream
DESCRIPTION="A skinny libtool implementation, written in C"
HOMEPAGE="https://git.foss21.org/slibtool"
@@ -19,5 +21,9 @@ SLOT="0"
src_configure() {
# Custom configure script (not generated by autoconf)
- ./configure --host=${CHOST} --prefix="${EPREFIX}"/usr || die
+ ./configure \
+ --compiler=$(tc-getCC) \
+ --host=${CHOST} \
+ --prefix="${EPREFIX}"/usr \
+ || die
}
diff --git a/sys-devel/slibtool/slibtool-9999.ebuild b/sys-devel/slibtool/slibtool-9999.ebuild
index a4787084a907..2e1f61f16a76 100644
--- a/sys-devel/slibtool/slibtool-9999.ebuild
+++ b/sys-devel/slibtool/slibtool-9999.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit toolchain-funcs
+
# git.foss21.org is the official repository per upstream
DESCRIPTION="A skinny libtool implementation, written in C"
HOMEPAGE="https://git.foss21.org/slibtool"
@@ -19,5 +21,9 @@ SLOT="0"
src_configure() {
# Custom configure script (not generated by autoconf)
- ./configure --host=${CHOST} --prefix="${EPREFIX}"/usr || die
+ ./configure \
+ --compiler=$(tc-getCC) \
+ --host=${CHOST} \
+ --prefix="${EPREFIX}"/usr \
+ || die
}