summaryrefslogtreecommitdiffstats
path: root/old-configure
diff options
context:
space:
mode:
Diffstat (limited to 'old-configure')
-rwxr-xr-xold-configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/old-configure b/old-configure
index 6eed18bcc8..686cbcfd62 100755
--- a/old-configure
+++ b/old-configure
@@ -493,7 +493,8 @@ compile_check waftools/fragments/pthreads.c "$_ld_pthread" || die "Unable to fin
echores "yes"
check_statement_libs "support for stdatomic.h" auto STDATOMIC \
- stdatomic.h '_Atomic int test = ATOMIC_VAR_INIT(123); int test2 = atomic_load(&test)'
+ stdatomic.h 'atomic_int_least64_t test = ATOMIC_VAR_INIT(123); int test2 = atomic_load(&test)' \
+ " " "-latomic"
_stdatomic=$(defretval)
_atomic=auto