On i386 aout/ELF, saprc ELF and macppc, 'cd ${WRKSRC}; make test' got success and www/w3m package which depends on this runs.
26 lines
607 B
Text
26 lines
607 B
Text
$NetBSD: patch-ad,v 1.8 2001/09/08 00:36:10 kei Exp $
|
|
|
|
--- include/private/gcconfig.h.orig Mon Aug 28 16:56:19 2000
|
|
+++ include/private/gcconfig.h
|
|
@@ -75,6 +75,10 @@
|
|
# endif
|
|
# define mach_type_known
|
|
# endif
|
|
+# if defined(__NetBSD__) && defined(__vax__)
|
|
+# define VAX
|
|
+# define mach_type_known
|
|
+# endif
|
|
# if defined(mips) || defined(__mips)
|
|
# define MIPS
|
|
# if !defined(LINUX)
|
|
@@ -690,6 +694,10 @@
|
|
# ifdef ULTRIX
|
|
# define OS_TYPE "ULTRIX"
|
|
# define STACKBOTTOM ((ptr_t) 0x7fffc800)
|
|
+# endif
|
|
+# ifdef NETBSD
|
|
+# define OS_TYPE "NETBSD"
|
|
+# define HEURISTIC2
|
|
# endif
|
|
# endif
|
|
|