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

LEDE Commits lede-commits at lists.infradead.org
Mon Jun 17 04:28:36 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8cad52a267bffe384a119f3e5ae1892e8580a981

commit 8cad52a267bffe384a119f3e5ae1892e8580a981
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>
---
 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 1fa2e952bb..e49c011118 100755
--- a/scripts/ext-toolchain.sh
+++ b/scripts/ext-toolchain.sh
@@ -41,6 +41,12 @@ LIB_SPECS="
 	ssp:      libssp
 	gfortran: libgfortran
 	gomp:	  libgomp
+	atomic:	  libatomic
+	quadmath: libquadmath
+	asan:	  libasan
+	tasan:	  libtsan
+	lasan:	  liblsan
+	ubasan:	  libubsan
 "
 
 # Binary specs
@@ -405,7 +411,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