Re: [PATCH] cmake.mk, rules.mk: fix host builds using CMake and ccache

2020-11-28 Thread Petr Štetiar
Ansuel Smith [2020-11-28 15:13:32]: Hi, > Can confirm that this fix the bug. sorry for the breakage and thank you for testing. Cheers, Petr ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/op

Re: [PATCH] cmake.mk, rules.mk: fix host builds using CMake and ccache

2020-11-28 Thread Ansuel Smith
On Fri, Nov 27, 2020 at 03:47:45PM -0800, Rosen Penev wrote: > On Fri, Nov 27, 2020 at 2:04 PM Petr Štetiar wrote: > > > > Commit f98878e4c17d ("cmake.mk: set C/CXX compiler for host builds as > > well") has introduced regression as it didn't taken usage of ccache into > > the account so fix it by

Re: [PATCH] cmake.mk, rules.mk: fix host builds using CMake and ccache

2020-11-27 Thread Rosen Penev
On Fri, Nov 27, 2020 at 2:04 PM Petr Štetiar wrote: > > Commit f98878e4c17d ("cmake.mk: set C/CXX compiler for host builds as > well") has introduced regression as it didn't taken usage of ccache into > the account so fix it by handling ccache use cases as well. > > In order to get this working we

[PATCH] cmake.mk,rules.mk: fix host builds using CMake and ccache

2020-11-27 Thread Petr Štetiar
Commit f98878e4c17d ("cmake.mk: set C/CXX compiler for host builds as well") has introduced regression as it didn't taken usage of ccache into the account so fix it by handling ccache use cases as well. In order to get this working we need to export HOSTCXX_NOCACHE in rules.mk as well. Fixes: f98