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>
This commit is contained in:
Khem Raj
2022-07-30 09:44:15 -07:00
committed by Martin Jansa
parent 2b71dbe687
commit a653346b40

View File

@@ -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,,"