> Well, if ccache was clever enough to support kernel builds then it would > be ok. But since I've never managed to get it to work reliably I use: > > .if ${.CURDIR:M/usr/src*} || ${.CURDIR:M/usr/obj*} > CC=cc > CXX=c++ > .else > .if defined(NOCCACHE) > CC=/usr/bin/cc > CXX=/usr/bin/c++ > .else > CC=cc > CXX=c++ > .endif > .endif > > Not sure if it is ccache itself or the make.conf example that is wrong. Thanks, I'm replacing my make.conf with that. Nicolas. -- FreeBSD 7.0-CURRENT #1: Tue Nov 15 05:57:05 EST 2005 root_at_clk01a:/usr/obj/usr/src/sys/CLK01A PGP? : http://www.clkroot.net/security/nb_root.asc
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC