Skip to content

Commit 664ecc8

Browse files
committed
configure: re-enable built-in atomic support
This commit removes an erroneous else statement from the OSX built-in atomics check. The else branch sets the built-in atomics support to BUILTIN_NO if either opal_cv_asm_builtin is not BUILTIN_NO or OSX atomics support is disabled. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent d44804f commit 664ecc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

config/opal_config_asm.m4

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,8 +879,6 @@ AC_DEFUN([OPAL_CONFIG_ASM],[
879879
if test "$opal_cv_asm_builtin" = "BUILTIN_NO" && test "$enable_osx_builtin_atomics" = "yes" ; then
880880
AC_CHECK_HEADER([libkern/OSAtomic.h],
881881
[opal_cv_asm_builtin="BUILTIN_OSX"])
882-
else
883-
opal_cv_asm_builtin="BUILTIN_NO"
884882
fi
885883
886884
OPAL_CHECK_ASM_PROC

0 commit comments

Comments
 (0)