link the openglrenderer plugin with -latomic on riscv64
authorDmitry Shachnev <mitya57@debian.org>
Thu, 12 Nov 2020 12:19:45 +0000 (12:19 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 12 Nov 2020 12:19:45 +0000 (12:19 +0000)
commit204018843bff1ba9077cb8ec125e5452160cfca3
tree39b9255d4b335a68f202b1fa06151d42a04280e5
parentda15296ed2400e9582800544238e8a6fea419df9
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