Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 20 Jul 2021 16:22:42 -0700 | Subject | Re: [PATCH v2 2/2] Makefile: infer CROSS_COMPILE from SRCARCH for LLVM=1 LLVM_IAS=1 |
| |
On Tue, Jul 20, 2021 at 4:19 PM Linus Torvalds <torvalds@linux-foundation.org> wrote: > > There are probably better ways to do this
Oh. In particular, it probably should use a '?=' in order to allow overriding, and not expanding that $(shell git config..) thing every time $(CC) is used.
Or something. I didn't really think about those things very much. Think of that patch - as so many of my patches - as a starting point and a "how about something like this".
Linus
| |