diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-07-17 17:53:58 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-10-03 17:40:26 +0200 |
commit | b0622d1221281babcb4fa6901becff0ee9bfe6ab (patch) | |
tree | 67305c9b87b54b0ad2209abede770e3530525cf1 | |
parent | d1a6c3559142a68035a171fb61535401857d41c5 (diff) | |
download | upstream-b0622d1221281babcb4fa6901becff0ee9bfe6ab.tar.gz upstream-b0622d1221281babcb4fa6901becff0ee9bfe6ab.tar.bz2 upstream-b0622d1221281babcb4fa6901becff0ee9bfe6ab.zip |
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@gmail.com>
(cherry picked from commit ddeabc75ebe3151ff7da302cb1aae702b3ad7eba)
-rwxr-xr-x | scripts/ext-toolchain.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |