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:
eb378ac
)
link with -latomic on riscv64
author
Aurelien Jarno
<aurel32@debian.org>
Sat, 18 Dec 2021 12:47:05 +0000
(12:47 +0000)
committer
Dmitry Shachnev
<mitya57@debian.org>
Sat, 18 Dec 2021 12:47:05 +0000
(12:47 +0000)
Forwarded: no
Last-Update: 2020-01-01
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 7d5a92ad92573b68dbc392c84cd0404cd2d5b1ea..0ec1161b822030bf9480710d53caebf7f519fa6f 100644
(file)
--- a/
src/qml/qml.pro
+++ b/
src/qml/qml.pro
@@
-20,6
+20,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
exists("qqml_enable_gcov") {