mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-16 12:12:07 +02:00
qtbase: Add OE clang specific mkspecs
We can not piggy back clang anymore on existing OE mkspecs since starting 5.9 the configure is asking compiler for include paths and it needs to know if platform is clang-linux or g++-linux Fixes: ERROR: failed to parse default search paths from compiler output Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds
|
||||
OE_QMAKE_PLATFORM_NATIVE = "linux-oe-g++"
|
||||
OE_QMAKE_PLATFORM = "linux-oe-g++"
|
||||
XPLATFORM_toolchain-clang = "linux-oe-clang"
|
||||
XPLATFORM ?= "linux-oe-g++"
|
||||
|
||||
OE_QMAKE_PLATFORM_NATIVE = "${XPLATFORM}"
|
||||
OE_QMAKE_PLATFORM = "${XPLATFORM}"
|
||||
|
||||
# Add -d to show debug output from every qmake call, but it prints *a lot*, better to add it only to debugged recipe
|
||||
OE_QMAKE_DEBUG_OUTPUT ?= ""
|
||||
|
||||
Reference in New Issue
Block a user