pkgsrc/cross/COMMON/patches-egcs/patch-af
tsutsui 37eff61636 - Add support of mipseb target.
- Make cross-packages compile on mips and powerpc hosts.
2000-02-19 00:53:40 +00:00

44 lines
1.3 KiB
Text

$NetBSD: patch-af,v 1.2 2000/02/19 00:53:40 tsutsui Exp $
--- gcc/configure.orig Thu Feb 17 01:07:22 2000
+++ gcc/configure Fri Feb 18 19:19:50 2000
@@ -2764,6 +2764,13 @@
fixincludes=fixinc.wrap
tmake_file=i386/t-freebsd
;;
+ i[34567]86-*-netbsdelf*)
+ tm_file=i386/netbsd-elf.h
+ xm_file=i386/xm-netbsd.h
+ # On NetBSD, the headers are already okay, except for math.h.
+ fixincludes=fixinc.wrap
+ tmake_file=t-netbsd
+ ;;
i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h
xm_file=i386/xm-netbsd.h
@@ -3857,7 +3864,16 @@
xm_file=mips/xm-netbsd.h
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
- tmake_file=t-netbsd
+ tmake_file="t-netbsd mips/t-mipsel"
+ xmake_file=none
+ ;;
+ mipseb-*-netbsd*)
+ tm_file=mips/netbsd.h
+ xm_file=mips/xm-netbsd.h
+ # On NetBSD, the headers are already okay, except for math.h.
+ fixincludes=fixinc.wrap
+ tmake_file="t-netbsd mips/t-mipseb"
+ xmake_file=none
;;
mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
tm_file="mips/news4.h ${tm_file}"
@@ -4233,6 +4249,7 @@
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
+ xmake_file=none
;;
powerpc-*-eabiaix*)
tm_file=rs6000/eabiaix.h