diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch index 833ad2540e..44482dd2b7 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch +++ b/meta/recipes-core/glib-2.0/glib-2.0/0001-meson-Run-atomics-test-on-clang-as-well.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From cce617bec254e327ed7bcad60f58208024c6dc42 Mon Sep 17 00:00:00 2001 | 1 | From 4b97f457b7b44117e27d2a218c4b68e7fe3fe4ce Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 12 Oct 2019 17:46:26 -0700 | 3 | Date: Sat, 12 Oct 2019 17:46:26 -0700 |
4 | Subject: [PATCH] meson: Run atomics test on clang as well | 4 | Subject: [PATCH] meson: Run atomics test on clang as well |
@@ -9,15 +9,16 @@ Fixes | |||
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | |||
12 | --- | 13 | --- |
13 | meson.build | 2 +- | 14 | meson.build | 2 +- |
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 16 | ||
16 | diff --git a/meson.build b/meson.build | 17 | diff --git a/meson.build b/meson.build |
17 | index 9731de4..c678931 100644 | 18 | index afb6eaa..6aa70f5 100644 |
18 | --- a/meson.build | 19 | --- a/meson.build |
19 | +++ b/meson.build | 20 | +++ b/meson.build |
20 | @@ -1634,7 +1634,7 @@ atomicdefine = ''' | 21 | @@ -1692,7 +1692,7 @@ atomicdefine = ''' |
21 | # We know that we can always use real ("lock free") atomic operations with MSVC | 22 | # We know that we can always use real ("lock free") atomic operations with MSVC |
22 | if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl' or cc.links(atomictest, name : 'atomic ops') | 23 | if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl' or cc.links(atomictest, name : 'atomic ops') |
23 | have_atomic_lock_free = true | 24 | have_atomic_lock_free = true |
@@ -26,6 +27,3 @@ index 9731de4..c678931 100644 | |||
26 | # Old gcc release may provide | 27 | # Old gcc release may provide |
27 | # __sync_bool_compare_and_swap but doesn't define | 28 | # __sync_bool_compare_and_swap but doesn't define |
28 | # __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 | 29 | # __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 |
29 | -- | ||
30 | 2.23.0 | ||
31 | |||