mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
is_clang is hardcoded to 'false' which works great when using gcc compiler, however it does not work when using clang compiler with yocto from meta-clang, since toolchain file encodes is_clang = false but then uses clang for cc/cxx lot of GN checks in chromium go wrong due to is_clang assuming wrong value and compilation fails e.g. | CMake Error at /home/khem/actions-runner-yoe/_work/yoe-distro/yoe-distro/build/tmp/work/cortexa57-yoe-linux/qtwebengine/6.9.0/git/cmake/QtGnGen.cmake:95 (message): | | | -- GN FAILED | | ERROR at | //base/allocator/partition_allocator/src/partition_alloc/BUILD.gn:499:7 | (//build/toolchain/yocto:yocto_native): Assertion failed. | | assert(stack_scan_supported) | ^----- | | See //base/allocator/partition_allocator/BUILD.gn:7:19: which caused the | file to be included. | | public_deps = [ "src/partition_alloc:raw_ptr" ] | ^---------------------------- | Therefore, compute this flag based upon toolchains used to compile QT in yocto environment. Pick-to: 6.9 Change-Id: I42d3fc77d7241d842e3fbbc991ee5cdcfc39f46f Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> |
||
|---|---|---|
| .. | ||
| meta | ||
| packagegroups | ||
| qt6 | ||