[openwrt/openwrt] scripts/ext-toolchain: add missing libc library specs

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 8 12:17:27 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/f8690ca0db5e3c2ece966d8323c1a40bf62ec6d8

commit f8690ca0db5e3c2ece966d8323c1a40bf62ec6d8
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Jun 17 13:19:52 2024 +0200

    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 at gmail.com>
    (cherry picked from commit 8cad52a267bffe384a119f3e5ae1892e8580a981)
    Link: https://github.com/openwrt/openwrt/pull/15898
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 scripts/ext-toolchain.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/scripts/ext-toolchain.sh b/scripts/ext-toolchain.sh
index fe1024c18e..894c44de72 100755
--- a/scripts/ext-toolchain.sh
+++ b/scripts/ext-toolchain.sh
@@ -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&#')"




More information about the lede-commits mailing list