diff options
author | sjg <sjg@FreeBSD.org> | 2013-03-17 01:53:47 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2013-03-17 01:53:47 +0000 |
commit | 1eca611df3430be021acd1f5c5a3148d93f5d8b9 (patch) | |
tree | 1b80834fa500c4863e58a467f1e76fa426e1864c /share/mk/local.sys.mk | |
parent | c6e1b705495c559626572a95f734fe6063e18609 (diff) | |
download | FreeBSD-src-1eca611df3430be021acd1f5c5a3148d93f5d8b9.zip FreeBSD-src-1eca611df3430be021acd1f5c5a3148d93f5d8b9.tar.gz |
We need .OBJDIR done earlier
Diffstat (limited to 'share/mk/local.sys.mk')
-rw-r--r-- | share/mk/local.sys.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk index b4be48f..98827a5 100644 --- a/share/mk/local.sys.mk +++ b/share/mk/local.sys.mk @@ -93,8 +93,10 @@ OBJTOP := ${HOST_OBJTOP} .endif # if you want objdirs make them automatic -.if ${MKOBJDIRS:Uno} == "auto" +# we need .OBJDIR made before we start populating .PATH +.if ${MKOBJDIRS:Uno} == "auto" || defined(WITH_AUTO_OBJ) WITH_AUTO_OBJ= yes +MKOBJDIRS=auto .include <auto.obj.mk> .endif |