aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWeijie Gao <hackpascal@gmail.com>2024-01-07 12:50:51 +0800
committerChuanhong Guo <gch981213@gmail.com>2024-05-04 14:14:24 +0800
commit6eafcd86b87bf4ef0e2e8df2891f303b52c804b7 (patch)
tree716558ef32574dd08ff20e81773e37f7c7bf3a19
parent7fcb82665e96a50174084c8bfcd0302ce31291f4 (diff)
toolchain: Disable libtsan and liblsan sanitizer on loongarch64
libtsan and liblsan are not supported by glibc on loongarch64 Signed-off-by: Weijie Gao <hackpascal@gmail.com>
-rw-r--r--package/libs/toolchain/Makefile4
1 files changed, 2 insertions, 2 deletions
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