!379 fix: 修复内核c库的makefile中被优化函数替换的高频函数依然参与了编译的问题

Merge pull request !379 from Zhaotianyu/0628libc_fix
This commit is contained in:
openharmony_ci 2021-06-29 04:50:15 +00:00 committed by Gitee
commit dfea902a08
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ LOCAL_SRCS = $(wildcard $(addprefix $(MUSLPORTINGDIR)/,$(MUSLPORTING_SRCS)))
LOCAL_SRCS := $(filter-out $(subst $(MUSLPORTINGDIR),$(MUSLDIR),$(LOCAL_SRCS)),$(addprefix $(MUSLDIR)/,$(MUSL_SRCS)) $(LOCAL_SRCS))
ifeq ($(LOSCFG_ARCH_ARM_VER), "armv7-a")
LOCAL_SRCS := $(filter-out $(addprefix $(MUSLDIR)/src/string/,memchr.c memcpy.c strcmp.c strcpy.c strlen.c), $(LOCAL_SRCS))
LOCAL_SRCS := $(filter-out $(addprefix $(MUSLPORTINGDIR)/src/string/,memchr.c memcpy.c strcmp.c strcpy.c strlen.c), $(LOCAL_SRCS))
LOCAL_SRCS += \
$(OPTRTDIR)/string/arm/memchr.S \
$(OPTRTDIR)/string/arm/memcpy.S \