summaryrefslogtreecommitdiff
path: root/dev-util/ccache/files/ccache-4.2-atomic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ccache/files/ccache-4.2-atomic.patch')
-rw-r--r--dev-util/ccache/files/ccache-4.2-atomic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/ccache/files/ccache-4.2-atomic.patch b/dev-util/ccache/files/ccache-4.2-atomic.patch
new file mode 100644
index 000000000000..6148e232af9d
--- /dev/null
+++ b/dev-util/ccache/files/ccache-4.2-atomic.patch
@@ -0,0 +1,11 @@
+https://github.com/ccache/ccache/pull/800
+--- a/cmake/StdAtomic.cmake
++++ b/cmake/StdAtomic.cmake
+@@ -10,6 +10,7 @@ set(
+ int main()
+ {
+ std::atomic<long long> x;
++ ++x;
+ (void)x.load();
+ return 0;
+ }