diff options
author | Changqing Li <changqing.li@windriver.com> | 2020-11-16 09:43:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-11-24 10:27:45 +0000 |
commit | 0fa07d1811fa9612e3f643a4d6bf711b281ca7fd (patch) | |
tree | 30b5cc3b2ac880d3bbae7df8471c2b045292373b /meta/recipes-graphics/vulkan/vulkan-samples_git.bb | |
parent | 0d5b99b33643ae39126933444e5425097b73cfd5 (diff) | |
download | poky-0fa07d1811fa9612e3f643a4d6bf711b281ca7fd.tar.gz |
vulkan-samples: fix do_compile failure
fix error:
| framework/lib/ppc/libframework.a(device.cpp.o): in function `std::__atomic_base<unsigned long long>::load(std::memory_order) const':
| /usr/include/c++/10.2.0/bits/atomic_base.h:426: undefined reference to `__atomic_load_8'
some arch don't have built-in atomic, so need to link it
explicitly
(From OE-Core rev: 65410c5ff4f9c34758d1e2270132c631166e7d1a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/vulkan/vulkan-samples_git.bb')
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-samples_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 241a313a7b..980557a3b9 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb | |||
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=48aa35cefb768436223a6e7f18dc2a2a" | |||
5 | 5 | ||
6 | SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git \ | 6 | SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git \ |
7 | file://0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch \ | 7 | file://0001-CMakeLists.txt-do-not-hardcode-lib-as-installation-t.patch \ |
8 | file://0001-support-link-against-libatomic-if-no-built-in-atomic.patch \ | ||
8 | " | 9 | " |
10 | |||
9 | UPSTREAM_CHECK_COMMITS = "1" | 11 | UPSTREAM_CHECK_COMMITS = "1" |
10 | SRCREV = "f52361d3cd6ac8c30fc3365a464b4e220c32cfd6" | 12 | SRCREV = "f52361d3cd6ac8c30fc3365a464b4e220c32cfd6" |
11 | 13 | ||