package/libclc: disable ccache
authorAdam Duskett <Aduskett@gmail.com>
Mon, 6 Apr 2020 16:50:44 +0000 (09:50 -0700)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 6 Apr 2020 20:13:57 +0000 (22:13 +0200)
commitbffce31ec19842c99a5f32891c3fba790d04349e
treefec818cf84b578864d0b286cfdb7d94005acc98c
parentc477885e3f3c31d3922af1fc0e47e6f5f35b1645
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 <module>
    (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 <Aduskett@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libclc/libclc.mk