From: Adam Duskett Date: Mon, 6 Apr 2020 16:50:44 +0000 (-0700) Subject: package/libclc: disable ccache X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bffce31ec19842c99a5f32891c3fba790d04349e;p=buildroot.git package/libclc: disable ccache Configure.py extracts arch, vendor, and os from the passed toolchain string on line 180. When using ccache, the passed path string is "/usr/lib64/ccache/g++" which breaks the logic, causing the following error: Traceback (most recent call last): File "./configure.py", line 180, in (t_arch, t_vendor, t_os) = target.split('-') ValueError: not enough values to unpack (expected 3, got 1) Use --with-cxx-compiler=$(HOSTCXX_NOCCACHE) instead of $(HOSTCXX) to fix the above error. Signed-off-by: Adam Duskett Reviewed-by: Romain Naour Signed-off-by: Yann E. MORIN --- diff --git a/package/libclc/libclc.mk b/package/libclc/libclc.mk index 52249a7087..630616905c 100644 --- a/package/libclc/libclc.mk +++ b/package/libclc/libclc.mk @@ -25,7 +25,7 @@ LIBCLC_CONF_OPTS = \ --prefix=/usr \ --includedir=/usr/share \ --pkgconfigdir=/usr/lib/pkgconfig \ - --with-cxx-compiler=$(HOSTCXX) + --with-cxx-compiler=$(HOSTCXX_NOCCACHE) define LIBCLC_CONFIGURE_CMDS (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure.py $(LIBCLC_CONF_OPTS))