diff mbox series

[API-NEXT,v1,10/10] linux-gen: build: do not fail on __atomic_exchange_8 check

Message ID 1499378421-25511-11-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/10] travis: add cross-compilation checks | expand

Commit Message

Github ODP bot July 6, 2017, 10 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


checking whether -latomic is needed for 64-bit atomic built-ins... yes
checking for __atomic_exchange_8 in -latomic... no
configure: error: __atomic_exchange_8 is not available

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 71 (muvarov:api-next)
 ** https://github.com/Linaro/odp/pull/71
 ** Patch: https://github.com/Linaro/odp/pull/71.patch
 ** Base sha: 15c97427d01c81dc9f4d0aafe9b0a99cdb2d1fc6
 ** Merge commit sha: e20c61ba5eae9586adcbc76e43cdfaa869055b55
 **/
 platform/linux-generic/m4/configure.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4
index bd2ca88e..e0c4d983 100644
--- a/platform/linux-generic/m4/configure.m4
+++ b/platform/linux-generic/m4/configure.m4
@@ -58,7 +58,7 @@  AC_LINK_IFELSE(
    AC_CHECK_LIB(
      [atomic], [__atomic_exchange_8],
      [use_libatomic=yes],
-     [AC_MSG_FAILURE([__atomic_exchange_8 is not available])])
+     [AC_MSG_CHECKING([__atomic_exchange_8 is not available])])
   ])
 
 AC_MSG_CHECKING(whether -latomic is needed for 128-bit atomic built-ins)