meta-qt6/recipes-devtools/gcc/gcc-source_%.bbappend
Michal Klocek 649de76994 Fix cross compiler crash when compiling qtwebengine
The compilation distributed_point_functions project crashes
compiler. It issue is reported and solved here:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110280

Apply the patch as it released for 13.3

Fixes: QTBUG-126655
Change-Id: I999643f9e336af7dd98849897a18c731340ea932
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
2024-08-20 10:46:48 +03:00

6 lines
313 B
Plaintext

FILESEXTRAPATHS:prepend := "${THISDIR}:"
PATCH_GCC ?= "${@bb.utils.contains_any('DISTRO_CODENAME', 'styhead nanbield', bb.utils.vercmp_string_op(d.getVar('GCCVERSION'), '13', '>='), '0', d)}"
SRC_URI += " \
${@'file://tree-optimization.110280.patch' if bb.utils.to_boolean(d.getVar('PATCH_GCC')) else ''} \
"