scripts/ext-toolchain: add missing libc library specs
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 17 Jun 2024 11:19:52 +0000 (13:19 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 11 Jul 2024 15:22:47 +0000 (11:22 -0400)
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 3c58c6a01dcb75038d362fd6abc9ba1902b7fb16..b9b4b078be938e48a7a904702099a65ac2cd4eb3 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&#')"