aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-07-14 18:10:59 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-07-16 16:29:16 +0200
commit9f4db0bd1b34cdcc532d0d2a76972100b55cbbec (patch)
tree7a1aecd67fdf8893f791e6936e96d4d41e0c343e /gkbuilds/e2fsprogs.gkbuild
parentbusybox: Honor toolchain (diff)
downloadgenkernel-9f4db0bd1b34cdcc532d0d2a76972100b55cbbec.tar.gz
genkernel-9f4db0bd1b34cdcc532d0d2a76972100b55cbbec.tar.bz2
genkernel-9f4db0bd1b34cdcc532d0d2a76972100b55cbbec.zip
e2fsprogs: Honor toolchain
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gkbuilds/e2fsprogs.gkbuild')
-rw-r--r--gkbuilds/e2fsprogs.gkbuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/gkbuilds/e2fsprogs.gkbuild b/gkbuilds/e2fsprogs.gkbuild
index 78c7193..7cebcca 100644
--- a/gkbuilds/e2fsprogs.gkbuild
+++ b/gkbuilds/e2fsprogs.gkbuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# e2fsprogs-1.45.6-build.patch would trigger gkautoreconf
+# which we cannot run because of gettext-0.20 incompatibility
+WANT_AUTORECONF=no
+
src_configure() {
append-ldflags -static
@@ -20,6 +24,10 @@ src_configure() {
--disable-defrag
)
+ ac_cv_path_LDCONFIG=: \
+ CC="$(tc-getCC)" \
+ BUILD_CC="$(tc-getBUILD_CC)" \
+ BUILD_LD="$(tc-getBUILD_LD)" \
gkconf "${myconf[@]}"
}