diff options
| author | Christian Marangi | 2022-07-17 15:53:58 +0000 |
|---|---|---|
| committer | Christian Marangi | 2022-12-04 15:07:35 +0000 |
| commit | 1f5b8a32e4a07b5ca55b0fce73ade5e026d4e584 (patch) | |
| tree | 81fb170787eed94944a108beb1b8550149cf365c | |
| parent | ed785589ea9a11d526a01067b79af4fe1b5dd5b7 (diff) | |
| download | openwrt-1f5b8a32e4a07b5ca55b0fce73ade5e026d4e584.tar.gz | |
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 |