[ccache] ccache version 3.2.3 has been released

Mike Frysinger vapier at gentoo.org
Mon Aug 17 04:50:59 UTC 2015


On 16 Aug 2015 13:39, Tom Lane wrote:
> $ grep extra_libs Makefile
> extra_libs = -lz
> ccache$(EXEEXT): $(ccache_objs) $(extra_libs)
>         $(CC) $(all_cflags) -o $@ $(ccache_objs) $(all_ldflags) $(extra_libs) $(LIBS)
> test/main$(EXEEXT): $(base_objs) $(test_objs) $(extra_libs)
>         $(CC) $(all_cflags) -o $@ $(base_objs) $(test_objs) $(all_ldflags) $(extra_libs) $(LIBS)
> 
> and of course "-lz" isn't a valid dependency.

that's not really true.  make will expand it internally into paths like 
/usr/lib/libz.so.

that said, there's no value anymore in putting -l flags into the deps list
and should just omit it from builds.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/ccache/attachments/20150817/0807499d/signature.sig>


More information about the ccache mailing list