diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-01-07 00:20:47 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-01-07 00:20:47 +0000 |
commit | 14f143093d5a3e4956d20af0c4aeda49f9b4aea6 (patch) | |
tree | 138de4a62308a231e9a473f365007b9ba8a6c145 /Makefile | |
parent | 0e634907c1421239606d5cfe5ba99f6e8298d900 (diff) | |
download | FreeBSD-src-14f143093d5a3e4956d20af0c4aeda49f9b4aea6.zip FreeBSD-src-14f143093d5a3e4956d20af0c4aeda49f9b4aea6.tar.gz |
Revert r293286. It was not intended to come in yet.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -143,6 +143,13 @@ TGTS+= ${BITGTS} PATH= /sbin:/bin:/usr/sbin:/usr/bin MAKEOBJDIRPREFIX?= /usr/obj +_MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} \ + ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \ + -f /dev/null -V MAKEOBJDIRPREFIX dummy +.if !empty(_MAKEOBJDIRPREFIX) +.error MAKEOBJDIRPREFIX can only be set in environment, not as a global\ + (in make.conf(5)) or command-line variable. +.endif # We often need to use the tree's version of make to build it. # Choices add to complexity though. |