On Wed, 19 Jun 2013 11:48:47 +0200 Bernd Schubert <bernd.schubert@xxxxxxxxxxxxxxxxxx> wrote: > Hello Neil, > > On 06/19/2013 02:07 AM, NeilBrown wrote: > > On Tue, 18 Jun 2013 11:09:21 +0200 Bernd Schubert > > <bernd.schubert@xxxxxxxxxxxxxxxxxx> wrote: > > > >> Users might want to compile with optimization levels and > >> CXFLAGS as suggested in the Makefile comment does not work. > > > > Doesn't it? It works for me. > > > > make CXFLAGS=-O3 > > > > compiled with "-O3". > > > > > > I haven't applied this patch (feel free to try to be more convincing) but has > > applied all the others (after removing a little bit of trailing white space). > > > > > I'm sorry for the extra work with the white space. Next time I'm first > going to run linux/scripts/checkpatch.pl > > Hmm, indeed > > make CXFLAGS=-O3 > > works, but the other way around it does not: > > CXFLAGS=-O3 make > > I still wonder how it works, as Makefile sets "CXFLAGS = -ggdb". > Anyway, whichever exception 'make' has for that, can we change it to > > -CXFLAGS = -ggdb > +CXFLAGS ?= -ggdb > > which would make it work with either way CXFLAGS is specified. > > > Thanks, > Bernd Sounds fair. I've made that change. NeilBrown
Attachment:
signature.asc
Description: PGP signature