From 0fcf2b8921f339f16b4d3ec65ed10b760b7fab3c Mon Sep 17 00:00:00 2001 From: Zoe Knox Date: Wed, 8 May 2024 23:45:34 +0000 Subject: [PATCH] Move essential CFLAGS to bsd.sys.mk --- Makefile.inc1 | 1 - share/mk/bsd.sys.mk | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 6c8a6859a0bd..873b1c0a0d0e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -691,7 +691,6 @@ PACKAGE= kernel # This stage installs a previously built world. # -CFLAGS+= -D__RAVYNOS__ -D__MACH__ BOOTSTRAPPING?= 0 # Keep these in sync MINIMUM_SUPPORTED_OSREL?= 1104001 diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index de91e00d8cc7..4317a7bd90be 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -509,6 +509,8 @@ ${_tgt}: ${META_DEPS} .endfor .endif +CFLAGS+= -D__RAVYNOS__ -D__MACH__ + # we are generally the last makefile read CFLAGS+= ${CFLAGS_LAST} CXXFLAGS+= ${CXXFLAGS_LAST}