From: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>

Use correct pattern in case-host construction.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
---
/** Email created from pull request 462 (lumag:default-abi)
 ** https://github.com/Linaro/odp/pull/462
 ** Patch: https://github.com/Linaro/odp/pull/462.patch
 ** Base sha: 41b3fa2cd994a7ef68290a07dcde5564e4640847
 ** Merge commit sha: 92a3ed64c30441cbca76e6f8ab5c086fe0c83a18
 **/
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 24a788230..21718f07b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,7 +124,7 @@ ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA"
 # Check if compiler supports cmpxchng16 on x86-based architectures
 ##########################################################################
 case "${host}" in
-  i?86? | x86*)
+  i?86* | x86*)
   if test "${CC}" != "gcc" -o ${CC_VERSION_MAJOR} -ge 5; then
      ODP_CHECK_CFLAG([-mcx16])
   fi

Reply via email to