diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-04-14 21:06:10 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-04-14 21:06:10 +0000 |
commit | b40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb (patch) | |
tree | 8aaa286b7ad01438e74918c3c600dd2e1609dfc1 /Makefile.libcompat | |
parent | c027e2497fa58d9f68775e67f319f8d69b3d849d (diff) | |
download | FreeBSD-src-b40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb.zip FreeBSD-src-b40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb.tar.gz |
META_MODE: Don't rebuild build-tools targets during normal build.
This avoids 'build command changed' due to CFLAGS/CC changes during the
normal build. Without this the build-tools targets end up rebuilding
for the *target* rather than keeping the native versions built in
build-tools.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r-- | Makefile.libcompat | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat index 2c15a9b..560a50c 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -88,6 +88,10 @@ LIBCOMPATWMAKEENV+= MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTREE} \ LIBDIR=/usr/lib${libcompat} \ SHLIBDIR=/usr/lib${libcompat} \ DTRACE="${LIB$COMPATDTRACE:U${DTRACE}}" +.if ${MK_META_MODE} != "no" +# Don't rebuild build-tools targets during normal build. +LIBCOMPATWMAKEENV+= BUILD_TOOLS_META=.NOMETA_CMP +.endif LIBCOMPATWMAKEFLAGS+= CC="${XCC} ${LIBCOMPATCFLAGS}" \ CXX="${XCXX} ${LIBCOMPATCFLAGS} ${LIBCOMPATCXXFLAGS}" \ DESTDIR=${LIBCOMPATTMP} \ |