diff mbox

[1/2] configure: detect ARCH correctly for 32-bit x86 hosts

Message ID 1462366907-28457-1-git-send-email-matias.elo@nokia.com
State Accepted
Commit 3610aae48fda044512f96458565d90d1e1ec895a
Headers show

Commit Message

Elo, Matias (Nokia - FI/Espoo) May 4, 2016, 1:01 p.m. UTC
Currently, 32-bit x86 host may end up using linux ARCH as
the host identifier is not recognized. Fix this by mapping
i686* to ARCH x86.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

Comments

Bill Fischofer May 4, 2016, 4:19 p.m. UTC | #1
For this series:

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


On Wed, May 4, 2016 at 8:01 AM, Matias Elo <matias.elo@nokia.com> wrote:

> Currently, 32-bit x86 host may end up using linux ARCH as

> the host identifier is not recognized. Fix this by mapping

> i686* to ARCH x86.

>

> Signed-off-by: Matias Elo <matias.elo@nokia.com>

> ---

>  configure.ac | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/configure.ac b/configure.ac

> index 723c957..5e7e380 100644

> --- a/configure.ac

> +++ b/configure.ac

> @@ -60,6 +60,7 @@ AX_VALGRIND_CHECK

>  ##########################################################################

>  AS_CASE([$host],

>    [x86*], [ARCH=x86],

> +  [i686*], [ARCH=x86],

>    [mips64*], [ARCH=mips64],

>    [powerpc*], [ARCH=powerpc],

>    [ARCH=linux]

> --

> 1.9.1

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
Mike Holmes May 5, 2016, 4:20 p.m. UTC | #2
merged

On 4 May 2016 at 12:19, Bill Fischofer <bill.fischofer@linaro.org> wrote:

> For this series:

>

> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>

>

> On Wed, May 4, 2016 at 8:01 AM, Matias Elo <matias.elo@nokia.com> wrote:

>

>> Currently, 32-bit x86 host may end up using linux ARCH as

>> the host identifier is not recognized. Fix this by mapping

>> i686* to ARCH x86.

>>

>> Signed-off-by: Matias Elo <matias.elo@nokia.com>

>> ---

>>  configure.ac | 1 +

>>  1 file changed, 1 insertion(+)

>>

>> diff --git a/configure.ac b/configure.ac

>> index 723c957..5e7e380 100644

>> --- a/configure.ac

>> +++ b/configure.ac

>> @@ -60,6 +60,7 @@ AX_VALGRIND_CHECK

>>

>>  ##########################################################################

>>  AS_CASE([$host],

>>    [x86*], [ARCH=x86],

>> +  [i686*], [ARCH=x86],

>>    [mips64*], [ARCH=mips64],

>>    [powerpc*], [ARCH=powerpc],

>>    [ARCH=linux]

>> --

>> 1.9.1

>>

>> _______________________________________________

>> lng-odp mailing list

>> lng-odp@lists.linaro.org

>> https://lists.linaro.org/mailman/listinfo/lng-odp

>>

>

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>

>



-- 
Mike Holmes
Technical Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index 723c957..5e7e380 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,7 @@  AX_VALGRIND_CHECK
 ##########################################################################
 AS_CASE([$host],
   [x86*], [ARCH=x86],
+  [i686*], [ARCH=x86],
   [mips64*], [ARCH=mips64],
   [powerpc*], [ARCH=powerpc],
   [ARCH=linux]