projects
/
qtdeclarative-opensource-src.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bcb611
)
riscv64-latomic
author
Debian Qt/KDE Maintainers
<debian-qt-kde@lists.debian.org>
Thu, 2 Jan 2020 11:25:07 +0000
(11:25 +0000)
committer
Dmitry Shachnev
<mitya57@debian.org>
Thu, 2 Jan 2020 11:25:07 +0000
(11:25 +0000)
Gbp-Pq: Name riscv64-latomic.patch
src/qml/qml.pro
patch
|
blob
|
history
diff --git
a/src/qml/qml.pro
b/src/qml/qml.pro
index d2170ac40b5cfb80b7e1f77fe2e0fc66d4e73213..be28e1bf85ef426fa4acab618076b960f3322600 100644
(file)
--- a/
src/qml/qml.pro
+++ b/
src/qml/qml.pro
@@
-17,6
+17,9
@@
solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
# Ensure this gcc optimization is switched off for mips platforms to avoid trouble with JIT.
gcc:isEqual(QT_ARCH, "mips"): QMAKE_CXXFLAGS += -fno-reorder-blocks
+# Link with -latomic on riscv64. Ideally qmake should use -pthread instead of -lpthread
+isEqual(QT_ARCH, "riscv64"): QMAKE_LIBS += -latomic
+
DEFINES += QT_NO_FOREACH
!build_pass {