]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/expat: fix compilation with ccache 19594/head
authorRosen Penev <rosenp@gmail.com>
Sun, 27 Jul 2025 18:37:27 +0000 (11:37 -0700)
committerRobert Marko <robimarko@gmail.com>
Tue, 29 Jul 2025 19:33:12 +0000 (21:33 +0200)
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 <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19594
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/expat/Makefile

index 941f0c3fbfb890afa993ca2738da9e9303f151c5..8e46aa989eb70b553fb517eb0ea3f028aeb6b962 100644 (file)
@@ -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 \