ccache BR

Elan Ruusamäe glen at pld-linux.org
Wed Jun 29 19:15:09 CEST 2011


On 29.06.2011 14:25, Zsolt Udvari wrote:
> Hi all!
>
> I don't know should I/we do anything, but I've found this error:
>
> make[1]: ccache: Command not found
>
> Should we include "BR: ccache" to almost all spec? Or any other way?

if the ccache is included into CC due it was present at build time, 
those package should be standardized and fixed somehow


one example is apxs which picks compile time CC/CFLAGS/CXXFLAGS...

it is not critical, as packages built by builders have plain cc

$ apxs -q CC
x86_64-pld-linux-gcc

i suggest passing CC in each spec you build:
apache1-mod_fastcgi.spec:
%{apxs} -S CC="%{__cc}" -o mod_%{mod_name}.so -c *.c

-- 
glen



More information about the pld-devel-en mailing list