From: Weijie Gao Date: Sun, 7 Jan 2024 04:50:51 +0000 (+0800) Subject: toolchain: Disable libtsan and liblsan sanitizer on loongarch64 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6eafcd86b87bf4ef0e2e8df2891f303b52c804b7;p=openwrt%2Fstaging%2Fneocturne.git toolchain: Disable libtsan and liblsan sanitizer on loongarch64 libtsan and liblsan are not supported by glibc on loongarch64 Signed-off-by: Weijie Gao --- diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index 285fbcfa98..3dd844d65b 100644 --- a/package/libs/toolchain/Makefile +++ b/package/libs/toolchain/Makefile @@ -144,7 +144,7 @@ define Package/libtsan $(call Package/gcc/Default) NAME:=libtsan TITLE:=Runtime library for ThreadSanitizer in GCC - DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc + DEPENDS:=@USE_GLIBC +librt +libstdcpp @!loongarch64 @!mips @!mipsel @!mips64 @!mips64el @!arc ABI_VERSION:=0 endef @@ -173,7 +173,7 @@ define Package/liblsan $(call Package/gcc/Default) NAME:=liblsan TITLE:=Runtime library for LeakSanitizer in GCC - DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc + DEPENDS:=@USE_GLIBC +librt +libstdcpp @!loongarch64 @!mips @!mipsel @!mips64 @!mips64el @!arc ABI_VERSION:=0 endef