From 01692b5a8a60419800fd2e83ef886fd1f6dca4eb Mon Sep 17 00:00:00 2001 From: Mikko Gronoff Date: Mon, 2 Sep 2024 14:53:04 +0300 Subject: [PATCH] gcc-source: Only apply patch on GCC 13 Amends commit 649de7699461ffae339ecd2b20ad6e67929a153. Fixes: QTBUG-128511 Pick-to: 6.8 Change-Id: If7b2b8bf2e48fb218d5fffcb0989cd6bb182551b Reviewed-by: Michal Klocek --- recipes-devtools/gcc/gcc-source_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/gcc/gcc-source_%.bbappend b/recipes-devtools/gcc/gcc-source_%.bbappend index 56dbbb6..4f91872 100644 --- a/recipes-devtools/gcc/gcc-source_%.bbappend +++ b/recipes-devtools/gcc/gcc-source_%.bbappend @@ -1,5 +1,5 @@ FILESEXTRAPATHS:prepend := "${THISDIR}:" -PATCH_GCC ?= "${@bb.utils.contains_any('DISTRO_CODENAME', 'styhead nanbield', bb.utils.vercmp_string_op(d.getVar('GCCVERSION'), '13', '>='), '0', d)}" +PATCH_GCC ?= "${@bb.utils.contains_any('DISTRO_CODENAME', 'styhead nanbield', bb.utils.vercmp_string_op(d.getVar('GCCVERSION'), '14', '<'), '0', d)}" SRC_URI += " \ ${@'file://tree-optimization.110280.patch' if bb.utils.to_boolean(d.getVar('PATCH_GCC')) else ''} \ "