summaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 18:08:20 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-06-19 18:08:20 +0000
commit35fb812adfc212234df4c132e1d6bbbb3b168a74 (patch)
tree112a043ac3a643a3a4ed9a1d44e23629b874f378 /Makefile.libcompat
parentad706c65e191fbfe475749ea410bddd6e9a0fa5d (diff)
downloadsrc-test-35fb812adfc212234df4c132e1d6bbbb3b168a74.tar.gz
src-test-35fb812adfc212234df4c132e1d6bbbb3b168a74.zip
buildworld: Define SYSROOT to WORLDTMP.
This is to allow downstream Makefiles to know for sure they are building against a sysroot rather than only depending on ${DESTDIR} or other assumptions. This also exports it into buildenv. MFC after: 2 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=320119
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 2e075ff098f61..3c0aabb2d05f6 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -111,6 +111,7 @@ LIBCOMPATCXXFLAGS+= -isystem ${LIBCOMPATTMP}/usr/include/c++/v1 -std=c++11 \
LIBCOMPATWMAKEENV+= MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTREE} \
INSTALL="sh ${.CURDIR}/tools/install.sh" \
PATH=${TMPPATH} \
+ SYSROOT=${LIBCOMPATTMP} \
LIBDIR=/usr/lib${libcompat} \
SHLIBDIR=/usr/lib${libcompat} \
DTRACE="${LIB$COMPATDTRACE:U${DTRACE}}"