File 0094-Complete-the-list-of-.-configure-ARCH-adjustments.patch of Package erlang
From 14e01bd006967d46453dd175f0e4758c277c09ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Magnus=20L=C3=A5ng?= <margnus1@telia.com>
Date: Thu, 30 Mar 2017 11:23:44 +0200
Subject: [PATCH 1/3] Complete the list of ./configure ARCH adjustments
Also remove i386 clause, as ARCH can never have that value.
---
erts/configure.in | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/erts/configure.in b/erts/configure.in
index 7c6f4b163..344b466ce 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -642,10 +642,6 @@ dnl Ditto between ultrasparc and sparc64.
dnl
AC_MSG_CHECKING(whether compilation mode forces ARCH adjustment)
case "$ARCH-$ac_cv_sizeof_void_p" in
-i386-8)
- AC_MSG_RESULT(yes: adjusting ARCH=x86 to ARCH=amd64)
- ARCH=amd64
- ;;
x86-8)
AC_MSG_RESULT(yes: adjusting ARCH=x86 to ARCH=amd64)
ARCH=amd64
@@ -666,6 +662,14 @@ ppc64-4)
AC_MSG_RESULT(yes: adjusting ARCH=ppc64 to ARCH=ppc)
ARCH=ppc
;;
+ppc-8)
+ AC_MSG_RESULT(yes: adjusting ARCH=ppc to ARCH=ppc64)
+ ARCH=ppc64
+ ;;
+arm-8)
+ AC_MSG_RESULT(yes: adjusting ARCH=arm to ARCH=noarch)
+ ARCH=noarch
+ ;;
*)
AC_MSG_RESULT(no)
;;
--
2.12.2