summaryrefslogtreecommitdiffstats
path: root/recipes-core/icedtea/openjdk-7-03b147/icedtea-sane-x86-arch-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/icedtea/openjdk-7-03b147/icedtea-sane-x86-arch-name.patch')
-rw-r--r--recipes-core/icedtea/openjdk-7-03b147/icedtea-sane-x86-arch-name.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-core/icedtea/openjdk-7-03b147/icedtea-sane-x86-arch-name.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-sane-x86-arch-name.patch
new file mode 100644
index 0000000..cb7eb7f
--- /dev/null
+++ b/recipes-core/icedtea/openjdk-7-03b147/icedtea-sane-x86-arch-name.patch
@@ -0,0 +1,35 @@
1Index: icedtea-2.1/acinclude.m4
2===================================================================
3--- icedtea-2.1.orig/acinclude.m4
4+++ icedtea-2.1/acinclude.m4
5@@ -8,9 +8,9 @@ AC_DEFUN([IT_SET_ARCH_SETTINGS],
6 ARCHFLAG="-m64"
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 ARCHFLAG="-m32"
17 ;;
18@@ -700,7 +700,7 @@ AC_DEFUN([IT_ENABLE_ZERO_BUILD],
19 ZERO_LIBARCH="${INSTALL_ARCH_DIR}"
20 dnl can't use AC_CHECK_SIZEOF on multilib
21 case "${ZERO_LIBARCH}" in
22- i386|ppc|s390|sparc)
23+ x86|ppc|s390|sparc)
24 ZERO_BITSPERWORD=32
25 ;;
26 amd64|ppc64|s390x|sparc64)
27@@ -712,7 +712,7 @@ AC_DEFUN([IT_ENABLE_ZERO_BUILD],
28 esac
29 AC_C_BIGENDIAN([ZERO_ENDIANNESS="big"], [ZERO_ENDIANNESS="little"])
30 case "${ZERO_LIBARCH}" in
31- i386)
32+ x86)
33 ZERO_ARCHDEF="IA32"
34 ;;
35 ppc*)