scripts/ext-toolchain: add missing libc library specs

Add missing libc library spec that weren't added to the ext-toolchain
script when the library were introduced in the packages libs toolchain
Makefile.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 8cad52a267)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Christian Marangi 2024-06-17 13:19:52 +02:00 committed by Hauke Mehrtens
parent 287e2565e2
commit f8690ca0db
1 changed files with 7 additions and 1 deletions

View File

@ -40,6 +40,12 @@ LIB_SPECS="
ssp: libssp
gfortran: libgfortran
gomp: libgomp
atomic: libatomic
quadmath: libquadmath
asan: libasan
tasan: libtsan
lasan: liblsan
ubasan: libubsan
"
# Binary specs
@ -384,7 +390,7 @@ print_config() {
fi
local lib
for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN GOMP; do
for lib in C RT PTHREAD GCC STDCPP SSP GFORTRAN GOMP ATOMIC QUADMATH ASAN TSAN LSAN UBSAN; do
local file
local spec=""
local llib="$(echo "$lib" | sed -e 's#.*#\L&#')"