aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-11-13 10:00:18 +0000
committerfanquake <fanquake@gmail.com>2023-11-13 10:00:43 +0000
commit9c4b74fa92706d219533a656303cdf723e2eccb4 (patch)
tree931dd6296f89e1d7095bf3da1f5aebedf45c596b
parent95a3934cf3973b4083ca30779c8a0ae45fa636ae (diff)
parentebc7063c80135dd6f3e7b9418e8f4bf217bd8db7 (diff)
Merge bitcoin/bitcoin#28777: doc: update docs for `CHECK_ATOMIC` macro
ebc7063c80135dd6f3e7b9418e8f4bf217bd8db7 doc: update docs for CHECK_ATOMIC macro (fanquake) Pull request description: Clarify that supported versions of GCC are not affected, and that Clang prior to version 15 still requires the explicit `-latomic` linking, when compiling for 32-bit. ACKs for top commit: hebasto: ACK ebc7063c80135dd6f3e7b9418e8f4bf217bd8db7. Tree-SHA512: 6044dc28547431cfde7e89b663b5f9a86a4cb801212a21c3dbb18a1c41a53640480c3e4e944050dc3ec4cded9bc4c1f8eae8dbb60596289fef49bb13a8b53b76
-rw-r--r--build-aux/m4/l_atomic.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/build-aux/m4/l_atomic.m4 b/build-aux/m4/l_atomic.m4
index 602b57fe43..5e65257d77 100644
--- a/build-aux/m4/l_atomic.m4
+++ b/build-aux/m4/l_atomic.m4
@@ -4,8 +4,10 @@ dnl permitted in any medium without royalty provided the copyright notice
dnl and this notice are preserved. This file is offered as-is, without any
dnl warranty.
-# Some versions of gcc/libstdc++ require linking with -latomic if
-# using the C++ atomic library.
+# Clang prior to version 15, when building for 32-bit,
+# and linking against libstdc++, requires linking with
+# -latomic if using the C++ atomic library.
+# Can be tested with: clang++ test.cpp -m32
#
# Sourced from http://bugs.debian.org/797228