mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
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>
This commit is contained in:
committed by
Yann E. MORIN
parent
c477885e3f
commit
bffce31ec1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user