On 22 September 2012 11:43, Joel Rosdahl <[email protected]> wrote: > On 18 September 2012 18:21, Eitan Adler <[email protected]> wrote: >> I needed the following patch for ccache to build with clang. >> [...] >> -all_cppflags = @DEFS@ @extra_cppflags@ -DSYSCONFDIR=$(sysconfdir) -I. >> -I$(srcdir) $(CPPFLAGS) > > (Your patch doesn't apply since it's garbled. The above two lines > should be one.) Sorry about that. I think gmail auto-wraps at 80 characters :(
> So, I can't apply it. I think it's quite silly of clang to warn about > unused -I options; it would be a hassle to add -I options potentially > tailored for each source code file. Clang is complaining about unused linker options during compilation. It does not complain about unused -l options during the linking phase. My patch is probably wrong. Is there a different way to make autoconf only pass -l during the link stage? -- Eitan Adler _______________________________________________ ccache mailing list [email protected] https://lists.samba.org/mailman/listinfo/ccache
