diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 19416225..d569a6c8 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -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 \