[openwrt/openwrt] toolchain: Allow sanitizer on mips and mipsel

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 3 15:52:59 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/db3acbac11cb11321e05c94babc543b94da19273

commit db3acbac11cb11321e05c94babc543b94da19273
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Oct 31 17:40:06 2021 +0100

    toolchain: Allow sanitizer on mips and mipsel
    
    Support for libsanitizer on MIPS 32 and MIPSEL 32 was added with GCC 9.
    MIPS 64 and ARC are still not supported.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/libs/toolchain/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile
index 52a4cda19f..dea99060f9 100644
--- a/package/libs/toolchain/Makefile
+++ b/package/libs/toolchain/Makefile
@@ -115,7 +115,7 @@ define Package/libasan
 $(call Package/gcc/Default)
   NAME:=libasan
   TITLE:=Runtime library for AddressSanitizer in GCC
-  DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
+  DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips64 @!mips64el @!arc
   ABI_VERSION:=5
 endef
 
@@ -202,7 +202,7 @@ define Package/libubsan
 $(call Package/gcc/Default)
   NAME:=libubsan
   TITLE:=Runtime library for UndefinedBehaviorSanitizer in GCC
-  DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips @!mipsel @!mips64 @!mips64el @!arc
+  DEPENDS:=@USE_GLIBC +librt +libstdcpp @!mips64 @!mips64el @!arc
   ABI_VERSION:=1
 endef
 



More information about the lede-commits mailing list