git: 72f092ee0194 - main - libc: Add include path for aarch64 memchr.S

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Fri, 17 Jan 2025 16:24:12 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=72f092ee019447c76ecb483c3f475313cf9dd5dd

commit 72f092ee019447c76ecb483c3f475313cf9dd5dd
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2025-01-17 16:22:39 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-01-17 16:23:56 +0000

    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 f0f0f6495782..35523fb954be 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