diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-18 11:52:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-18 11:52:28 +0000 |
commit | 906276763a6b3643598daf78a17e09436b354f40 (patch) | |
tree | 01bf2dbf2d4056da668891c84cc9e28f307de387 /gnu/usr.bin/gcc/Makefile.bsd-wrapper | |
parent | bf31bf7cd621b22e582b885489292c52165ed353 (diff) |
${MACHINE_ARCH}-unknown-openbsd2.0 always, except for mips where little/big-endian is significant
Diffstat (limited to 'gnu/usr.bin/gcc/Makefile.bsd-wrapper')
-rw-r--r-- | gnu/usr.bin/gcc/Makefile.bsd-wrapper | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper index 057a0831787..6898af2bc0c 100644 --- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper +++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.18 1996/10/12 21:30:12 niklas Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.19 1996/10/18 11:52:26 deraadt Exp $ MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1 MLINKS+= gcc.1 cc.1 @@ -11,6 +11,16 @@ CLEANFILES= .gdbinit cp/.gdbinit *.info* bi-parser.c bi-parser.h \ c-parse.c c-parse.h c-parse.y cexp.c cp/parse.c cp/parse.h \ objc-parse.c objc-parse.y f/.gdbinit f/*.info* +.if ${MACHINE} == "arc" || ${MACHINE} == "pmax" +M_ARCH= mips64el +.elif ${MACHINE} == "laguna" +M_ARCH= mips64 +.else +M_ARCH= ${MACHINE_ARCH} +.endif + +GCCARCH= ${M_ARCH}-unknown-openbsd`uname -r` + all: config.status ${MAKE} ${GNUCFLAGS} BISON=yacc LDFLAGS=${LDSTATIC} \ build_infodir=. all doc @@ -20,11 +30,10 @@ all: config.status config: .FORCE -rm -f config.cache /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \ - --prefix=/usr --gxx-include=${GPP_INC_DIR} - + --prefix=/usr --gxx-include=${GPP_INC_DIR} ${GCCARCH} config.status: /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \ - --prefix=/usr --gxx-include=${GPP_INC_DIR} + --prefix=/usr --gxx-include=${GPP_INC_DIR} ${GCCARCH} install: maninstall ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \ |