HomeFreeBSD

Always try to set .OBJDIR, even if AUTO_OBJ is enabled, and fallback to .CURDIR.

Description

Always try to set .OBJDIR, even if AUTO_OBJ is enabled, and fallback to .CURDIR.

When AUTO_OBJ is enabled this change becomes redundant with the auto.obj.mk
check added in r325404. However, it is possible that new code is added
at some point between src.sys.obj.mk and auto.obj.mk that disables AUTO_OBJ.
That could leave make with a bogus and unsafe .OBJDIR in some cases.

Sponsored by: Dell EMC Isilon

Details

Provenance
bdreweryAuthored on
Parents
rS325415: Validate MAKEOBJDIR after the MAKEOBJDIRPREFIX override.
Branches
Unknown
Tags
Unknown