[openwrt/openwrt] scripts: ext-toolchain: actually probe libc type on config generation
LEDE Commits
lede-commits at lists.infradead.org
Mon Oct 3 15:13:30 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/b0622d1221281babcb4fa6901becff0ee9bfe6ab
commit b0622d1221281babcb4fa6901becff0ee9bfe6ab
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun Jul 17 17:53:58 2022 +0200
scripts: ext-toolchain: actually probe libc type on config generation
Currently we never call probe_cc before config generation, this cause
the script to never actually detect the correct libc type.
Call probe_cc before config generation to correctl set the .config file.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
(cherry picked from commit ddeabc75ebe3151ff7da302cb1aae702b3ad7eba)
---
scripts/ext-toolchain.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh
index c9ceb150c1..1ef3f42c50 100755
--- a/scripts/ext-toolchain.sh
+++ b/scripts/ext-toolchain.sh
@@ -546,6 +546,7 @@ while [ -n "$1" ]; do
--config)
if probe_cc; then
+ probe_libc
print_config "$1"
exit $?
fi
More information about the lede-commits
mailing list