summaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea/icedtea6-native-1.7.5/icedtea-sane-x86-arch-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/icedtea/icedtea6-native-1.7.5/icedtea-sane-x86-arch-name.patch')
-rw-r--r--recipes-core/icedtea/icedtea6-native-1.7.5/icedtea-sane-x86-arch-name.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-core/icedtea/icedtea6-native-1.7.5/icedtea-sane-x86-arch-name.patch b/recipes-core/icedtea/icedtea6-native-1.7.5/icedtea-sane-x86-arch-name.patch
new file mode 100644
index 0000000..1d67dbf
--- /dev/null
+++ b/recipes-core/icedtea/icedtea6-native-1.7.5/icedtea-sane-x86-arch-name.patch
@@ -0,0 +1,47 @@
1Index: icedtea6-1.7/acinclude.m4
2===================================================================
3--- icedtea6-1.7.orig/acinclude.m4 2010-01-26 20:37:07.000000000 +0100
4+++ icedtea6-1.7/acinclude.m4 2010-02-02 09:28:43.681373126 +0100
5@@ -8,11 +8,11 @@
6 CROSS_TARGET_ARCH=x86_64
7 ;;
8 i?86-*-*)
9- BUILD_ARCH_DIR=i586
10- INSTALL_ARCH_DIR=i386
11- JRE_ARCH_DIR=i386
12+ BUILD_ARCH_DIR=x86
13+ INSTALL_ARCH_DIR=x86
14+ JRE_ARCH_DIR=x86
15 ARCH_PREFIX=${LINUX32}
16- CROSS_TARGET_ARCH=i386
17+ CROSS_TARGET_ARCH=x86
18 ;;
19 alpha*-*-*)
20 BUILD_ARCH_DIR=alpha
21@@ -733,7 +733,7 @@
22 ZERO_LIBARCH="${INSTALL_ARCH_DIR}"
23 dnl can't use AC_CHECK_SIZEOF on multilib
24 case "${ZERO_LIBARCH}" in
25- i386|ppc|s390|sparc)
26+ x86|ppc|s390|sparc)
27 ZERO_BITSPERWORD=32
28 ;;
29 amd64|ppc64|s390x|sparc64)
30@@ -745,7 +745,7 @@
31 esac
32 AC_C_BIGENDIAN([ZERO_ENDIANNESS="big"], [ZERO_ENDIANNESS="little"])
33 case "${ZERO_LIBARCH}" in
34- i386)
35+ x86)
36 ZERO_ARCHDEF="IA32"
37 ;;
38 ppc*)
39@@ -762,7 +762,7 @@
40 esac
41 dnl multilib machines need telling which mode to build for
42 case "${ZERO_LIBARCH}" in
43- i386|ppc|sparc)
44+ x86|ppc|sparc)
45 ZERO_ARCHFLAG="-m32"
46 ;;
47 s390)