aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-07-30 09:44:15 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2022-08-08 21:06:39 +0200
commite8ada8b8878777d1ddaee70a5aad1bfde0c773f9 (patch)
tree7a4cc0b524708ba2585a3f8cccb7c196127007f2
parentd466c12ed432f6d811dac6a80528a637ef5c658d (diff)
qtpdf: Do not add -rtlib=libgcc -unwindlib=libgcc when using gcc
We need to also check for compiler along with runtime to apply this patch so we dont accidentally add these options when using TOOLCHAIN = "gcc" Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtpdf_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qtpdf_git.bb b/recipes-qt/qt5/qtpdf_git.bb
index d7a19cb7..5aa947dc 100644
--- a/recipes-qt/qt5/qtpdf_git.bb
+++ b/recipes-qt/qt5/qtpdf_git.bb
@@ -208,7 +208,7 @@ SRC_URI += " \
file://0001-configure.json-remove-python2-dependency.patch \
file://0002-gn.pro-do-not-try-to-statically-link-stdc.patch \
"
-SRC_URI:append:runtime-llvm = " file://0003-Fix-build-with-clang.patch"
+SRC_URI:append:toolchain-clang:runtime-llvm = " file://0003-Fix-build-with-clang.patch"
# These flags below go more into detail than qtwebengine's documentation
PACKAGECONFIG[no-core] = "-no-build-qtwebengine-core,,"