Skip to content

Commit

Permalink
Move essential CFLAGS to bsd.sys.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
mszoek committed May 8, 2024
1 parent bb73bfb commit 0fcf2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions share/mk/bsd.sys.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0fcf2b8

Please sign in to comment.