From 2ee9494b4e6e58d49234d9b1c83b58f4debf949c Mon Sep 17 00:00:00 2001 From: Zoe Knox Date: Wed, 8 May 2024 21:37:59 +0000 Subject: [PATCH] Reinstate previous CFLAGS accidentally removed --- lib/libc/Makefile | 1 + lib/libsys/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 674986a7e065..03231a1a9f2c 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -26,6 +26,7 @@ LIBC_ARCH=${MACHINE_CPUARCH} # To include legacy CSRG SCCS ID strings, remove -DNO__SCCSID from CFLAGS. # To include RCS ID strings from other BSD projects, remove -DNO__RCSID from CFLAGS. CFLAGS+=-DNO__SCCSID -DNO__RCSID +CFLAGS+=-D__MACH__ -D__RAVYNOS__ LIB=c SHLIB_MAJOR= 7 diff --git a/lib/libsys/Makefile b/lib/libsys/Makefile index b4c0e91e860c..73eca78029b3 100644 --- a/lib/libsys/Makefile +++ b/lib/libsys/Makefile @@ -28,6 +28,7 @@ INCS= libsys.h _libsys.h CFLAGS+=-I${LIBSYS_SRCTOP}/include -I${LIBC_SRCTOP}/include CFLAGS+=-I${LIBSYS_SRCTOP}/${LIBC_ARCH} CFLAGS+=-I${LIBC_SRCTOP}/${LIBC_ARCH} +CFLAGS+=-D__MACH__ -D__RAVYNOS__ .PATH: ${LIBC_SRCTOP}/string SRCS+= memcpy.c memset.c strlcpy.c