lkml.org 
[lkml]   [2021]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [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

    \
     
     \ /
      Last update: 2021-07-21 01:24    [W:3.789 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site