On Tue, Aug 28, 2012 at 10:27:18PM +0300, Serge wrote: > 2012/8/28 Paul Tagliamonte wrote: > > >> Just curious, do you have a list of such packages? > > > > No, I've not built up such a list. I've seen it enough for me to recall > > this edge-case. Most packages with a lone Makefile usually have: > > > > CC=gcc > > Notabug. :) I guess this is how it's supposed to be by Makefile design.
Is a bug :) > It's not a "hardcode". It's an option. You can always change it, just run: > make CC=anothercc > (Note: not `CC=anothercc make`) It's a (known?) makefile feature. Those > variables in the beginning of a Makefile are often there just for that. It won't respect exported env-vars: [tag@chayot:~]$ cat Makefile CRUFT = foo KRUFT ?= bar all: @echo $(CRUFT) @echo $(KRUFT) [tag@chayot:~]$ make foo bar [tag@chayot:~]$ make CRUFT=bar bar bar [tag@chayot:~]$ make KRUFT=foo foo foo [tag@chayot:~]$ CRUFT=bar make foo bar [tag@chayot:~]$ KRUFT=foo make foo foo > > -- > Serge > > > -- > To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: > http://lists.debian.org/CAOVenEo+=yt9nvkyajn7r9-ug8lgv3wksktaakj4mvphvux...@mail.gmail.com > -- .''`. Paul Tagliamonte <paul...@debian.org> : :' : Proud Debian Developer `. `'` 4096R / 8F04 9AD8 2C92 066C 7352 D28A 7B58 5B30 807C 2A87 `- http://people.debian.org/~paultag
signature.asc
Description: Digital signature