Re-order .PATH so that mknative headers are picked up first. Fixes

earm* builds.
This commit is contained in:
skrll 2013-04-30 20:45:41 +00:00
parent 51f6389f71
commit 50baee5e8d
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2011/06/29 02:01:37 mrg Exp $
# $NetBSD: Makefile,v 1.5 2013/04/30 20:45:41 skrll Exp $
.include <bsd.own.mk>
@ -33,7 +33,8 @@ BITS_CPUDIR=${BITS_CPUDIR.${MACHINE_ARCH}}
BITS_CPUDIR=${MACHINE_GNU_ARCH}
.endif
.PATH: ${DIST}/libstdc++-v3/include/bits \
.PATH: ${.CURDIR}/../../arch/${MACHINE_ARCH} \
${DIST}/libstdc++-v3/include/bits \
${DIST}/libstdc++-v3/include/c_std \
${DIST}/libstdc++-v3/include/precompiled \
${CONF}/os/bsd/netbsd \
@ -41,8 +42,7 @@ BITS_CPUDIR=${MACHINE_GNU_ARCH}
${CONF}/io \
${CONF}/cpu/${BITS_CPUDIR} \
${CONF}/cpu/generic \
${CONF}/locale/generic \
${.CURDIR}/../../arch/${MACHINE_ARCH}
${CONF}/locale/generic
# Get default targets including <bsd.inc.mk>.
.include <bsd.prog.mk>