aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-11-02 18:08:36 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-11-02 18:08:36 +0000
commit4dc89c4d51cc6e82623e6bfb48718d9f7752312a (patch)
tree04c37c0b29b728530df625483174651c208d7c00 /Makefile.libcompat
parent47902a71f34d554fd82251d01e50d76a18f550e4 (diff)
downloadsrc-4dc89c4d51cc6e82623e6bfb48718d9f7752312a.tar.gz
src-4dc89c4d51cc6e82623e6bfb48718d9f7752312a.zip
Reduce MAKEOBJDIRPREFIX path spam by specifying a direct objdir to use.
Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=325329
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 5ec84fd42ca2..5bb455d0178f 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -108,7 +108,8 @@ LIBCOMPATCXXFLAGS+= -isystem ${LIBCOMPATTMP}/usr/include/c++/v1 -std=c++11 \
# Yes, the flags are redundant.
LIBCOMPATWMAKEENV+= \
- MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTOP} \
+ OBJTOP=${LIBCOMPAT_OBJTOP} \
+ OBJROOT='$${OBJTOP}/' \
INSTALL="sh ${.CURDIR}/tools/install.sh" \
PATH=${TMPPATH} \
SYSROOT=${LIBCOMPATTMP} \
@@ -184,7 +185,8 @@ build${libcompat}: .PHONY
${_+_}cd ${.CURDIR}/${_dir}; \
WORLDTMP=${WORLDTMP} \
MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" \
- MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTOP} \
+ OBJTOP=${LIBCOMPAT_OBJTOP} \
+ OBJROOT='$${OBJTOP}/' \
${MAKE} SSP_CFLAGS= DESTDIR= \
DIRPRFX=${_dir}/ -DNO_LINT -DNO_CPU_CFLAGS MK_WARNS=no MK_CTF=no \
build-tools