From 5a67c02a707d72a7fa441a3b06751ff09d66688d Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 27 Jul 2025 11:37:27 -0700 Subject: [PATCH] tools/expat: fix compilation with ccache Even though expat is a C library, the configure script tests both C and C++ compilers so a fix is needed for the latter. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/19594 Signed-off-by: Robert Marko (cherry picked from commit b0650c50c8f040cf3f94af0f9b07e65c14f36045) Link: https://github.com/openwrt/openwrt/pull/25329 Signed-off-by: Hauke Mehrtens --- tools/expat/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/expat/Makefile b/tools/expat/Makefile index 941f0c3fbfb..8e46aa989eb 100644 --- a/tools/expat/Makefile +++ b/tools/expat/Makefile @@ -20,6 +20,7 @@ HOST_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/host-build.mk HOSTCC := $(HOSTCC_NOCACHE) +HOSTCXX := $(HOSTCXX_NOCACHE) HOST_CONFIGURE_ARGS += \ --disable-shared \