Only match paths that start with /, otherwise mm_malloc.h ends up as a stray
dot, and we end up spewing: i386--netbsdelf-gcc: .: linker input file unused because linking not done
This commit is contained in:
parent
c89216e1ce
commit
9f25c42945
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.8 2008/02/09 02:37:21 mrg Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.9 2008/05/25 21:37:02 christos Exp $
|
||||
|
||||
.if exists(${.CURDIR}/arch/${MACHINE_ARCH}.mk) && ${MKGCC} != "no"
|
||||
.include "${.CURDIR}/arch/${MACHINE_ARCH}.mk"
|
||||
@ -13,7 +13,7 @@ GCCARCHXX= ${NETBSDSRCDIR}/gnu/lib/libstdc++-v3_4/arch/${MACHINE_ARCH}
|
||||
GCPPFLAGS= ${G_LIBGCC2_CFLAGS} ${G_USE_COLLECT2} ${G_INCLUDES}
|
||||
CPPFLAGS+= -I${.CURDIR} -I${GCCARCHLIBGCC}
|
||||
CPPFLAGS+= -I${GCCARCH} ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*}
|
||||
CPPFLAGS+= -I${G_EXTRA_HEADERS:H:u}
|
||||
CPPFLAGS+= -I${G_EXTRA_HEADERS:M/*:H:u}
|
||||
CPPFLAGS+= -I${DIST}/gcc/cp -I${DIST}/gcc/config -I${GCCARCHXX} -I.
|
||||
|
||||
# This is copied from gcc/mklibgcc.in:$lib2funcs
|
||||
|
Loading…
Reference in New Issue
Block a user