scripts/ext-toolchain: add missing libc library specs
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 17 Jun 2024 11:19:52 +0000 (13:19 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jul 2024 19:13:25 +0000 (21:13 +0200)
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 8cad52a267bffe384a119f3e5ae1892e8580a981)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
scripts/ext-toolchain.sh

index fe1024c18ec800a903a32aa64471065385032768..894c44de728b50d577d88bf0ff32f32b131f7c4f 100755 (executable)
@@ -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&#')"