aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qt3d_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-03-08 15:18:53 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2021-03-10 13:09:35 +0100
commita1981938c245473f08f0531fc4c821cb67d26296 (patch)
tree65cd714cc3a98bddc9eefda31fee23548641c921 /recipes-qt/qt5/qt3d_git.bb
parent9e17c61bee3ac58c1d02c472db1d92bd9de27bee (diff)
qt3d: Fix build on riscv/gcc11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qt3d_git.bb')
-rw-r--r--recipes-qt/qt5/qt3d_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qt3d_git.bb b/recipes-qt/qt5/qt3d_git.bb
index 294cffb4..53f4e484 100644
--- a/recipes-qt/qt5/qt3d_git.bb
+++ b/recipes-qt/qt5/qt3d_git.bb
@@ -16,6 +16,8 @@ DEPENDS_class-target += "qtdeclarative qt3d-native"
SRC_URI += " \
file://0001-Allow-a-tools-only-build.patch \
"
+SRC_URI_append_riscv64 = " file://0001-renderers-opengl-Link-in-libatomic-on-riscv.patch"
+SRC_URI_append_riscv32 = " file://0001-renderers-opengl-Link-in-libatomic-on-riscv.patch"
PACKAGECONFIG ??= ""
PACKAGECONFIG_class-native ??= "tools-only"