Browse Source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19594
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev 5 tháng trước cách đây
mục cha
commit
b0650c50c8
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      tools/expat/Makefile

+ 1 - 0
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 \