HomeFreeBSD

Move the adding of CFLAGS_LAST to bsd.sys.mk

Description

Move the adding of CFLAGS_LAST to bsd.sys.mk

The point of CFLAGS_LAST is to be the last thing in CFLAGS
so add it last.

For DIRDEPS_BUILD this can best be done via local.dirdeps-build.mk
which is guaranteed to be the last makefile read, but that does nothing
for non-DIRDEPS_BUILD

bsd.sys.mk is close enough to the end.

Reviewed by: obrien
Differential Revision: https://reviews.freebsd.org/D42001

Details

Provenance
sjgAuthored on Sep 28 2023, 9:01 PM
Reviewer
obrien
Differential Revision
D42001: Move the adding of CFLAGS_LAST to bsd.sys.mk
Parents
rGb6da7f2fd127: makefs/zfs tests: Add a test case which appends to a file after import
Branches
Unknown
Tags
Unknown