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)
This commit is contained in:
Christian Marangi 2022-07-17 17:53:58 +02:00 committed by Hauke Mehrtens
parent d1a6c35591
commit b0622d1221

View File

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