aboutsummaryrefslogtreecommitdiff
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-03-25 19:12:13 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-03-25 19:12:13 +0000
commit429882e6aa3dd87f88c3b54f88b2fc180495150e (patch)
tree5b1cdec793ebd82e97b65f2494597f972679392f /Makefile.libcompat
parent938bcb04fc9e2c412e9f6910506f16fbccc8d8bf (diff)
downloadsrc-429882e6aa3dd87f88c3b54f88b2fc180495150e.tar.gz
src-429882e6aa3dd87f88c3b54f88b2fc180495150e.zip
LIBRARIES_ONLY should only be defined during install32.
r245561 added it to prevent extra files from being installed during the install32 phase (to prevent duplicates in the meta log with -DNO_ROOT). The flag should not be passed during build32 though since it may prevent staging of includes during the 'make includes' phase on library directories. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=297269
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index d2c90d027e90..cf5ea3b87302 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -79,7 +79,6 @@ LIBCOMPATWMAKEENV+= MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTREE} \
LIBCOMPATWMAKEFLAGS+= CC="${XCC} ${LIBCOMPATCFLAGS}" \
CXX="${XCXX} ${LIBCOMPATCFLAGS}" \
DESTDIR=${LIBCOMPATTMP} \
- -DLIBRARIES_ONLY \
-DNO_CPU_CFLAGS \
MK_CTF=no \
-DNO_LINT \
@@ -87,7 +86,8 @@ LIBCOMPATWMAKEFLAGS+= CC="${XCC} ${LIBCOMPATCFLAGS}" \
LIBCOMPATWMAKE+= ${LIBCOMPATWMAKEENV} ${MAKE} ${LIBCOMPATWMAKEFLAGS} \
MK_MAN=no MK_HTML=no
LIBCOMPATIMAKE+= ${LIBCOMPATWMAKE:NINSTALL=*:NDESTDIR=*:N_LDSCRIPTROOT=*} \
- MK_TOOLCHAIN=no ${IMAKE_INSTALL}
+ MK_TOOLCHAIN=no ${IMAKE_INSTALL} \
+ -DLIBRARIES_ONLY
.if ${XCC:N${CCACHE_BIN}:M/*}
LIBCOMPATCFLAGS+= --sysroot=${WORLDTMP}