summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorapb <apb@NetBSD.org>2012-12-02 12:55:27 +0000
committerapb <apb@NetBSD.org>2012-12-02 12:55:27 +0000
commit4e23038fa62e3d4dd6cb60c05d1fc70431cf7d40 (patch)
treece3f04eb777ff22971f400c28150c4167a70bea0 /gnu
parent934f9b439e9b60a0bb046da6220e07110fdacde9 (diff)
Adjust everything under src (but outside src/tools) to use
the TOOLDIR version of libnbcompat, associated include files, and associated defs.mk file, instead of the version from the .OBJDIR of src/tools/compat. This should fix PR 47188.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc4/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/usr.bin/gcc4/Makefile.inc b/gnu/usr.bin/gcc4/Makefile.inc
index a434124d231..479cbaeac46 100644
--- a/gnu/usr.bin/gcc4/Makefile.inc
+++ b/gnu/usr.bin/gcc4/Makefile.inc
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 2011/05/30 14:41:26 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.6 2012/12/02 12:55:27 apb Exp $
.include <bsd.own.mk>
@@ -11,8 +11,7 @@ CPPFLAGS+= -DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE
HOST_CPPFLAGS+= -I${.CURDIR}/..
.if ${USETOOLS} == "yes"
-COMPATOBJDIR!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
-NBCOMPATLIB= -L${COMPATOBJDIR} -lnbcompat
+NBCOMPATLIB= -L${TOOLDIR}/lib -lnbcompat
.endif
GNUHOSTDIST= ${DIST}