openbsd-ports/lang/gcc/4.7/patches/patch-libgcc_config_host
pascal f2b393605c Import gcc 4.7.
ok espie@
2012-04-23 15:56:40 +00:00

35 lines
1.1 KiB
Plaintext

$OpenBSD: patch-libgcc_config_host,v 1.1.1.1 2012/04/23 15:56:41 pascal Exp $
--- libgcc/config.host.orig Mon Feb 20 22:19:55 2012
+++ libgcc/config.host Thu Apr 19 00:09:08 2012
@@ -471,6 +471,8 @@ hppa*-*-linux*)
fi
md_unwind_header=pa/linux-unwind.h
;;
+hppa-*-openbsd*)
+ ;;
hppa[12]*-*-hpux10*)
tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc"
# Set the libgcc version number
@@ -537,7 +539,11 @@ x86_64-*-netbsd*)
i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
;;
i[34567]86-*-openbsd*)
+ tmake_file="${tmake_file} i386/t-crtstuff"
;;
+x86_64-*-openbsd*)
+ tmake_file="${tmake_file} i386/t-crtstuff"
+ ;;
i[34567]86-*-linux*)
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
@@ -854,6 +860,9 @@ powerpc-*-freebsd*)
;;
powerpc-*-netbsd*)
tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
+ ;;
+powerpc-*-openbsd*)
+ tmake_file="$tmake_file rs6000/t-crtstuff"
;;
powerpc-*-eabispe*)
tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic"