提交 87ad9f74 编写于 作者: O openharmony_ci 提交者: Gitee

!604 升级optimized-routines到v21.02

Merge pull request !604 from Caoruihong/pick-1ec8d5a4
......@@ -25,6 +25,13 @@ LOCAL_SRCS += \
$(OPTRTDIR)/string/arm/strcmp.S \
$(OPTRTDIR)/string/arm/strcpy.c \
$(OPTRTDIR)/string/arm/strlen-armv6t2.S
LOCAL_CMACRO = \
-D__strlen_armv6t2=strlen \
-D__strcpy_arm=strcpy \
-D__strcmp_arm=strcmp \
-D__memcpy_arm=memcpy \
-D__memchr_arm=memchr
endif
LOCAL_SRCS += $(wildcard src/*.c src/*/*.c)
......@@ -36,7 +43,7 @@ LOCAL_INCLUDE := \
LOCAL_INCLUDE += $(addprefix -I$(MUSLPORTINGDIR)/, src/include src/internal)
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS)
LOCAL_FLAGS := $(LOCAL_INCLUDE) $(LITEOS_GCOV_OPTS) $(LOCAL_CMACRO)
ifeq ($(LOSCFG_COMPILER_CLANG_LLVM), y)
LOCAL_FLAGS +=-Wno-char-subscripts -Wno-unknown-pragmas
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册