link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Sun, 27 Oct 2024 14:12:01 +0000 (17:12 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 27 Oct 2024 14:12:01 +0000 (17:12 +0300)
commitd14052db6046beee65a9475ec700209c568305b8
tree0bf4e0cad3a066f3c93cb0ce59591e9af7d08ea1
parentbffd505ce4f2f1567c4b3f63549978515205ef80
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