]> git.pld-linux.org Git - packages/cross-gcc.git/blob - gcc49-sparc-config-detection.patch
- unconditional noarch subpackages
[packages/cross-gcc.git] / gcc49-sparc-config-detection.patch
1 --- gcc/config.gcc.jj   2008-04-24 15:42:46.000000000 -0500
2 +++ gcc/config.gcc      2008-04-24 15:44:51.000000000 -0500
3 @@ -2656,7 +2656,7 @@ sparc-*-rtems*)
4         tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h sparc/sp-elf.h sparc/rtemself.h rtems.h newlib-stdint.h"
5         tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems"
6         ;;
7 -sparc-*-linux*)
8 +sparc-*-linux* | sparcv9-*-linux*)
9         tm_file="${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/tso.h"
10         extra_options="${extra_options} sparc/long-double-switch.opt"
11         case ${target} in
12 @@ -2710,7 +2710,7 @@ sparc64-*-rtems*)
13         extra_options="${extra_options}"
14         tmake_file="${tmake_file} sparc/t-sparc sparc/t-rtems-64"
15         ;;
16 -sparc64-*-linux*)
17 +sparc64*-*-linux*)
18         tm_file="sparc/biarch64.h ${tm_file} dbxelf.h elfos.h sparc/sysv4.h gnu-user.h linux.h glibc-stdint.h sparc/default-64.h sparc/linux64.h sparc/tso.h"
19         extra_options="${extra_options} sparc/long-double-switch.opt"
20         tmake_file="${tmake_file} sparc/t-sparc sparc/t-linux64"
21 --- libgcc/config.host.jj       2008-04-24 15:46:19.000000000 -0500
22 +++ libgcc/config.host  2008-04-24 15:46:49.000000000 -0500
23 @@ -1002,7 +1002,7 @@ sparc-*-elf*)
24         tmake_file="${tmake_file} t-fdpbit t-crtfm"
25         extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
26         ;;
27 -sparc-*-linux*)                # SPARC's running GNU/Linux, libc6
28 +sparc-*-linux* | sparcv9-*-linux*)             # SPARC's running GNU/Linux, libc6
29         tmake_file="${tmake_file} t-crtfm"
30         if test "${host_address}" = 64; then
31                 tmake_file="$tmake_file sparc/t-linux64"
32 @@ -1050,7 +1050,7 @@ sparc64-*-freebsd*|ultrasparc-*-freebsd*
33         tmake_file="$tmake_file t-crtfm"
34         extra_parts="$extra_parts crtfastmath.o"
35         ;;
36 -sparc64-*-linux*)              # 64-bit SPARC's running GNU/Linux
37 +sparc64*-*-linux*)             # 64-bit SPARC's running GNU/Linux
38         extra_parts="$extra_parts crtfastmath.o"
39         tmake_file="${tmake_file} t-crtfm sparc/t-linux"
40         if test "${host_address}" = 64; then
This page took 0.065832 seconds and 3 git commands to generate.