From: Alastair McKinstry Date: Wed, 27 Sep 2017 12:33:11 +0000 (+0100) Subject: arm_detection X-Git-Tag: archive/raspbian/2.1.1-7+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0ad10fdeeae2a1b26220cab2a6619e09746acfac;p=openmpi.git arm_detection Gbp-Pq: Name arm_detection.diff --- diff --git a/config/opal_config_asm.m4 b/config/opal_config_asm.m4 index e2cfd977..bb2b9c47 100644 --- a/config/opal_config_asm.m4 +++ b/config/opal_config_asm.m4 @@ -1029,7 +1029,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' ;; - armv7*) + armv7*|arm-*-linux-gnueabihf) opal_cv_asm_arch="ARM" OPAL_ASM_SUPPORT_64BIT=1 OPAL_ASM_ARM_VERSION=7 @@ -1048,7 +1048,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[ OPAL_GCC_INLINE_ASSIGN='"mov %0, #0" : "=&r"(ret)' ;; - armv5*linux*|armv4*linux*) + armv5*linux*|armv4*linux*|arm-*-linux-gnueabi) # uses Linux kernel helpers for some atomic operations opal_cv_asm_arch="ARM" OPAL_ASM_SUPPORT_64BIT=0