diff options
-rw-r--r-- | recipes-qt/qt5/qtbase_git.bb | 2 | ||||
-rw-r--r-- | recipes-qt/qt5/qtdeclarative_git.bb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 7f6fd956..129c4084 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
@@ -172,6 +172,8 @@ QT_CONFIG_FLAGS_GOLD = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '- | |||
172 | QT_CONFIG_FLAGS_GOLD = "-no-use-gold-linker" | 172 | QT_CONFIG_FLAGS_GOLD = "-no-use-gold-linker" |
173 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 173 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
174 | 174 | ||
175 | LDFLAGS_append_riscv64 = " -pthread" | ||
176 | |||
175 | QT_CONFIG_FLAGS += " \ | 177 | QT_CONFIG_FLAGS += " \ |
176 | ${QT_CONFIG_FLAGS_GOLD} \ | 178 | ${QT_CONFIG_FLAGS_GOLD} \ |
177 | -shared \ | 179 | -shared \ |
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index d20f8f13..1a42b81d 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
@@ -19,6 +19,8 @@ SRC_URI += " \ | |||
19 | file://0002-Use-python3-explicitly.patch \ | 19 | file://0002-Use-python3-explicitly.patch \ |
20 | " | 20 | " |
21 | 21 | ||
22 | LDFLAGS_append_riscv64 = " -pthread" | ||
23 | |||
22 | DEPENDS += "qtbase qtdeclarative-native" | 24 | DEPENDS += "qtbase qtdeclarative-native" |
23 | 25 | ||
24 | PACKAGECONFIG ??= "qml-debug qml-network ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}" | 26 | PACKAGECONFIG ??= "qml-debug qml-network ${@bb.utils.contains('DISTRO_FEATURES', 'qt5-static', 'static', '', d)}" |