From f2a65e959716efcef5569abe43b764b68c3fff1e Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 4 Jul 2019 15:46:00 +0200 Subject: qt5: add upstream fix for webengine ARM thumb detection Signed-off-by: Michael Olbrich --- .../0102-qt3d-link-with-latomic-if-necessary.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 patches/qt-everywhere-src-5.12.2/0102-qt3d-link-with-latomic-if-necessary.patch (limited to 'patches/qt-everywhere-src-5.12.2/0102-qt3d-link-with-latomic-if-necessary.patch') diff --git a/patches/qt-everywhere-src-5.12.2/0102-qt3d-link-with-latomic-if-necessary.patch b/patches/qt-everywhere-src-5.12.2/0102-qt3d-link-with-latomic-if-necessary.patch new file mode 100644 index 000000000..6445dc4f4 --- /dev/null +++ b/patches/qt-everywhere-src-5.12.2/0102-qt3d-link-with-latomic-if-necessary.patch @@ -0,0 +1,25 @@ +From: Michael Olbrich +Date: Thu, 21 Apr 2016 16:25:30 +0200 +Subject: [PATCH] qt3d: link with -latomic if necessary + +Without this, building qt3d on PowerPC fails with: + +.obj/qnodeid.o:qnodeid.cpp:function Qt3DCore::QNodeId::createId(): error: undefined reference to '__atomic_fetch_add_8' + +Signed-off-by: Michael Olbrich +--- + qt3d/src/core/nodes/nodes.pri | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/qt3d/src/core/nodes/nodes.pri b/qt3d/src/core/nodes/nodes.pri +index 785ae2b21472..de97caee8662 100644 +--- a/qt3d/src/core/nodes/nodes.pri ++++ b/qt3d/src/core/nodes/nodes.pri +@@ -1,5 +1,7 @@ + INCLUDEPATH += $$PWD + ++atomic64-libatomic: LIBS += -latomic ++ + HEADERS += \ + $$PWD/qnode.h \ + $$PWD/qnode_p.h \ -- cgit v1.2.3