From 72f092ee019447c76ecb483c3f475313cf9dd5dd Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 17 Jan 2025 11:22:39 -0500 Subject: [PATCH] libc: Add include path for aarch64 memchr.S Reported by: bapt Sponsored by: The FreeBSD Foundation Fixes: d355c28a0954 ("depend-cleanup: bea89d038ac5 also moved memchr") --- lib/libc/aarch64/string/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libc/aarch64/string/Makefile.inc b/lib/libc/aarch64/string/Makefile.inc index f0f0f6495782c..35523fb954be2 100644 --- a/lib/libc/aarch64/string/Makefile.inc +++ b/lib/libc/aarch64/string/Makefile.inc @@ -54,3 +54,7 @@ CLEANFILES+= ${FUNC}.S MDSRCS+= ${FUNC}.S CFLAGS.${FUNC}.S+=-I${SRCTOP}/contrib/arm-optimized-routines/string .endfor + +# memchr.S is a wrapper in the src tree for the implementation from +# arm-optimized-routines +CFLAGS.memchr.S+=-I${SRCTOP}/contrib/arm-optimized-routines/string