summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-09-21 19:36:28 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-09-21 19:36:28 +0000
commit9fec7ff9d6d218135cbe251d19d3821c9a2cc233 (patch)
treea481ed07a419088c8943477098760d3c12904ae0
parenta6ef908eb49a3c3b5dd9580e23357e941669ebce (diff)
Do not look for a.out t.o.c sections in the mips-based ports
-rw-r--r--usr.bin/make/arch.c7
-rw-r--r--usr.bin/make/config.h5
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c
index e47bf424f36..e8bfa4d3f31 100644
--- a/usr.bin/make/arch.c
+++ b/usr.bin/make/arch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arch.c,v 1.6 1996/09/02 16:04:07 briggs Exp $ */
+/* $OpenBSD: arch.c,v 1.7 1996/09/21 19:36:27 niklas Exp $ */
/* $NetBSD: arch.c,v 1.16 1996/08/13 16:42:00 christos Exp $ */
/*
@@ -44,7 +44,7 @@
static char sccsid[] = "@(#)arch.c 5.7 (Berkeley) 12/28/90";
static char rcsid[] = "$NetBSD: arch.c,v 1.14 1996/03/12 18:04:27 christos Exp $";
#else
-static char rcsid[] = "$OpenBSD: arch.c,v 1.6 1996/09/02 16:04:07 briggs Exp $";
+static char rcsid[] = "$OpenBSD: arch.c,v 1.7 1996/09/21 19:36:27 niklas Exp $";
#endif
#endif /* not lint */
@@ -124,7 +124,8 @@ static int ArchFindArchive __P((ClientData, ClientData));
static void ArchFree __P((ClientData));
static struct ar_hdr *ArchStatMember __P((char *, char *, Boolean));
static FILE *ArchFindMember __P((char *, char *, struct ar_hdr *, char *));
-#if defined(__svr4__) || defined(__SVR4)
+#if defined(__svr4__) || defined(__SVR4) || \
+ (defined(__OpenBSD__) && defined(__mips))
#define SVR4ARCHIVES
static int ArchSVR4Entry __P((Arch *, char *, size_t, FILE *));
#endif
diff --git a/usr.bin/make/config.h b/usr.bin/make/config.h
index e062828d5cd..e70f7ced11f 100644
--- a/usr.bin/make/config.h
+++ b/usr.bin/make/config.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.h,v 1.5 1996/09/02 16:04:07 briggs Exp $ */
+/* $OpenBSD: config.h,v 1.6 1996/09/21 19:36:27 niklas Exp $ */
/* $NetBSD: config.h,v 1.6 1996/05/28 23:34:39 christos Exp $ */
/*
@@ -112,7 +112,8 @@
*/
#define SUNSHCMD
-#if !defined(__svr4__) && !defined(__SVR4) && !defined(__alpha__)
+#if !defined(__svr4__) && !defined(__SVR4) && !defined(__alpha__) && \
+ !defined(__mips__)
# ifndef RANLIBMAG
# define RANLIBMAG "__.SYMDEF"
# endif