From 1705db05ae627738f29ee91e505d0b28edc64373 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 8 Aug 2026 17:27:51 +0200 Subject: [PATCH] package/gcc: drop ARC-specific host-flex/host-bison dependency host-flex/host-bison are needed when building GCC from Git or from a snapshot, not from release tarballs. The condition for the dependency was actually incorrect: it was needed for the ARC-specific gcc version (BR2_GCC_VERSION_ARC) but not for the ARC architecture in general: building upstream GCC release tarballs for ARC does not require host-flex/host-bison. Cc: ARC Maintainers Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit 4f867f10392bcb651a42ec2ccf68efddfccf8c43) Signed-off-by: Titouan Christophe --- package/gcc/gcc.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index 9109777bd7..04ba70c52c 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -198,10 +198,6 @@ else HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog endif -ifeq ($(BR2_arc),y) -HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison -endif - ifeq ($(BR2_SOFT_FLOAT),y) # only mips*-*-*, arm*-*-* and sparc*-*-* accept --with-float # powerpc seems to be needing it as well