remove pre-gcc-4.5 mknative remnants that have long ceased to function.
This commit is contained in:
parent
d3f9240343
commit
be84a9917e
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.45 2011/09/21 02:15:18 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.46 2011/09/26 21:16:14 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -109,13 +109,8 @@ GCCSRCDIR=${.CURDIR}/../../gnu/dist/gcc4
|
|||
GCCSRCDIR=${.CURDIR}/../../external/gpl3/gcc/dist
|
||||
.endif
|
||||
|
||||
.if ${HAVE_GCC} >= 45
|
||||
CXXADDFLAGS= --sysroot=${DESTDIR}
|
||||
CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
|
||||
.else
|
||||
CXXADDFLAGS= ${CPPFLAG_ISYSTEMXX} ${DESTDIR}/usr/include/g++
|
||||
CCADDFLAGS= ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
|
||||
.endif
|
||||
|
||||
NEWCONFIGDIR?= ${.CURDIR}/../..
|
||||
MKNATIVE?= ${.CURDIR}/mknative-gcc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2011/09/26 02:36:19 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2011/09/26 21:16:14 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -17,11 +17,7 @@ INSTALL_TARGET= install-gdb
|
|||
|
||||
.include "${.CURDIR}/../Makefile.gnuhost"
|
||||
|
||||
.if ${HAVE_GCC} >= 45
|
||||
CCADDFLAGS= --sysroot=${DESTDIR} -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ -I${.OBJDIR}/.native/gcc/include
|
||||
.else
|
||||
CCADDFLAGS= ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
|
||||
.endif
|
||||
|
||||
NEWCONFIGDIR?= ${.CURDIR}/../..
|
||||
MKNATIVE?= ${.CURDIR}/mknative-gdb
|
||||
|
|
Loading…
Reference in New Issue