summaryrefslogtreecommitdiff
path: root/repo/qt5-qtdeclarative/link-libatomic-on-rv64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/qt5-qtdeclarative/link-libatomic-on-rv64.patch')
-rw-r--r--repo/qt5-qtdeclarative/link-libatomic-on-rv64.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/repo/qt5-qtdeclarative/link-libatomic-on-rv64.patch b/repo/qt5-qtdeclarative/link-libatomic-on-rv64.patch
new file mode 100644
index 0000000..8530522
--- /dev/null
+++ b/repo/qt5-qtdeclarative/link-libatomic-on-rv64.patch
@@ -0,0 +1,11 @@
+--- ./src/qml/qml.pro.orig
++++ ./src/qml/qml.pro
+@@ -12,6 +12,8 @@
+
+ DEFINES += QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES
+
++unix:LIBS += -latomic
++
+ msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x66000000
+ msvc:DEFINES *= _CRT_SECURE_NO_WARNINGS
+ win32:!winrt:LIBS += -lshell32