chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / sparc / local-sparcv9-target.diff
1 # DP: Description: Optimizes the build for sparcv9
2 # DP: Author: Ben Collins, Aurelien Jarno
3 # DP: Upstream status: Debian-Specific
4 # DP: Status Details:
5 # DP: Date: July 19, 2007
6
7 ---
8  configure    |    5 +++++
9  configure.in |    5 +++++
10  2 files changed, 10 insertions(+)
11
12 --- a/configure
13 +++ b/configure
14 @@ -4056,6 +4056,11 @@
15    machine="powerpc"
16  fi
17  
18 +# Force v9
19 +if test "$machine" = sparc; then
20 +   machine="sparcv9"
21 +fi
22 +
23  # Braindead PowerPC box with absolutely no FPU.
24  case "$machine-$host_os" in
25    powerpc*-*soft)
26 --- a/configure.in
27 +++ b/configure.in
28 @@ -378,6 +378,11 @@
29    machine="powerpc"
30  fi
31  
32 +# Force v9
33 +if test "$machine" = sparc; then
34 +   machine="sparcv9"
35 +fi
36 +
37  # Braindead PowerPC box with absolutely no FPU.
38  case "$machine-$host_os" in
39    powerpc*-*soft)