link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Sat, 8 Jul 2023 16:03:51 +0000 (17:03 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 8 Jul 2023 16:03:51 +0000 (17:03 +0100)
commitb0baf72cefd5a0a95829efe534ee20a0838330d9
treee9ee933e8cf25bcc01d908386be367ac984452ea
parent2f5b0f3d2bf549b246318db6572c9476a8c71422
link the openglrenderer plugin with -latomic on riscv64

Forwarded: no
Last-Update: 2020-10-30

Otherwise it fails to build with the following error:
/usr/bin/ld: .obj/renderview.o: in function `QHash<int, Qt3DRender::Render::OpenGL::RenderView::StandardUniform>::findNode(int const&, unsigned int) const':
/usr/include/riscv64-linux-gnu/qt5/QtCore/qhash.h:931: undefined reference to `__atomic_exchange_1'

Gbp-Pq: Name riscv64_atomic.diff
src/plugins/renderers/opengl/opengl.pri