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>
This commit is contained in:
Christian Marangi 2022-07-17 17:53:58 +02:00
parent f4dd18ca39
commit ddeabc75eb
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 1 additions and 0 deletions

View File

@ -546,6 +546,7 @@ while [ -n "$1" ]; do
--config)
if probe_cc; then
probe_libc
print_config "$1"
exit $?
fi