Skip to content

Commit 63f7768

Browse files
authored
Merge pull request #10819 from devreal/c11-atomic-fallback
Fix fallback to C11 atomics if GCC builtin is unavailable
2 parents e895da1 + 365dc65 commit 63f7768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/opal_config_asm.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
658658
# C11 atomics, but have not apparently found a build we are happy
659659
# with. In the future, this should be changed to a check for a
660660
# particular Intel version.
661-
AS_IF([test "$atomics_found" = "no" -a "$enable_c11_atomics" == "yes" -a "$opal_cv_c11_supported" = "yes" -a "$opal_cv_c_compiler_vendor" != "intel"],
661+
AS_IF([test "$atomics_found" = "no" -a "$enable_c11_atomics" != "no" -a "$opal_cv_c11_supported" = "yes" -a "$opal_cv_c_compiler_vendor" != "intel"],
662662
[AC_MSG_NOTICE([Using C11 atomics])
663663
OPAL_CHECK_C11_CSWAP_INT128
664664
want_c11_atomics=1

0 commit comments

Comments
 (0)