Skip to content

Commit

Permalink
toolchain: Disable libtsan and liblsan sanitizer on loongarch64
Browse files Browse the repository at this point in the history
libtsan and liblsan are not supported by glibc on loongarch64

Signed-off-by: Weijie Gao <[email protected]>
  • Loading branch information
hackpascal authored and 981213 committed May 4, 2024
1 parent 7fcb826 commit 6eafcd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/libs/toolchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6eafcd8

Please sign in to comment.