diff options
| author | drochner <drochner@NetBSD.org> | 1999-02-24 17:18:26 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 1999-02-24 17:18:26 +0000 |
| commit | 7ccfa38c7a91ab0ee00d89f7ea52886e8c8dbb62 (patch) | |
| tree | 7efefa9e183c31adc7f5fff9761f732cbdbbfb69 /gnu/lib/libgcc | |
| parent | 536eb455f46fb4214c758566fa1586e31db92442 (diff) | |
make this build after mips->mipse? transition
Diffstat (limited to 'gnu/lib/libgcc')
| -rw-r--r-- | gnu/lib/libgcc/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 3691dd3c47f..f1ce58a7acf 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 1999/02/13 02:54:23 lukem Exp $ +# $NetBSD: Makefile,v 1.8 1999/02/24 17:18:26 drochner Exp $ HAVE_GCC28!= ${CXX} --version | egrep "^(2\.8|egcs)" ; echo @@ -9,7 +9,13 @@ MKPIC= no DIST= ${.CURDIR}/../../dist/gcc ARCH= ${.CURDIR}/../../usr.bin/egcs/arch -CPPFLAGS+= -I${ARCH}/${MACHINE_ARCH} -I${ARCH} \ +.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb") +ARCHSUBDIR= mips +.else +ARCHSUBDIR= ${MACHINE_ARCH} +.endif + +CPPFLAGS+= -I${ARCH}/${ARCHSUBDIR} -I${ARCH} \ -I${DIST}/config -I${DIST}/cp -I${DIST} LIB2OBJS= __gcc_bcmp.o _varargs.o __dummy.o _eprintf.o _bb.o _shtab.o \ |
