Re: [PATCH] build: clean up $CFLAGS handling in the makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 31, 2017 at 08:56:47PM -0400, Christopher Li wrote:
> On Tue, Oct 31, 2017 at 2:57 PM, Jeff Layton <jlayton@xxxxxxxxxx> wrote:
> > As Luc and Josh pointed out, I think we want $(CFLAGS) last here. That
> > allows you to pass in options that can supersede what the makefile puts
> > in there.
> > ...other than that, I'm fine with this. Assuming you fix that, you can
> > add:
> 
> I update the patch here and git url:
> https://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git/log/?h=cflags-v2

This is still not correct. It still doesn't allow to compile sparse
via 'make CFLAGS=<some extra flags, possibly none>'.

Visibly this hasn't been tested.

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux