summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/cpp
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-07-27 02:29:24 +0000
committertv <tv@NetBSD.org>1998-07-27 02:29:24 +0000
commite13ccaa4bef978d2d7276b7a5a28a9b85bcb8133 (patch)
tree8ead0febe62ca43392ff5c3d770c17f1bd1d5578 /gnu/usr.bin/gcc/cpp
parentb0b64545e8b80560553b7c8daa1cbc6e1ad29ee2 (diff)
Cope with "mipsel". This is not yet useable for "mipseb," but that
_should_ be dealt with as part of the egcs import before 1.4.
Diffstat (limited to 'gnu/usr.bin/gcc/cpp')
-rw-r--r--gnu/usr.bin/gcc/cpp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gcc/cpp/Makefile b/gnu/usr.bin/gcc/cpp/Makefile
index 3acf8c1c245..24f2464d3ad 100644
--- a/gnu/usr.bin/gcc/cpp/Makefile
+++ b/gnu/usr.bin/gcc/cpp/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
-# $NetBSD: Makefile,v 1.8 1998/04/09 00:32:35 tv Exp $
+# $NetBSD: Makefile,v 1.9 1998/07/27 02:29:25 tv Exp $
.if (${MACHINE_ARCH} == "i386") || \
(${MACHINE_ARCH} == "m68k") || \
@@ -7,12 +7,12 @@
(${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "vax") || \
(${MACHINE_ARCH} == "arm32") || \
- (${MACHINE_ARCH} == "mips")
+ (${MACHINE_ARCH:Mmips*} != "")
PROG= cpp
BINDIR= /usr/libexec
SRCS= cccp.c cexp.y obstack.c version.c
CPPFLAGS+=-I. -I$(.CURDIR) -I$(.CURDIR)/../common -I$(.CURDIR)/../arch \
- -I$(.CURDIR)/../arch/$(MACHINE_ARCH) \
+ -I$(.CURDIR)/../arch/$(MACHINE_ARCH:C/^mips.*/mips/) \
-DGCC_INCLUDE_DIR=\"\" \
-DTOOL_INCLUDE_DIR=\"\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"