Hi Bram,

On Tue, Jun 14, 2022 at 1:25 PM Bram Moolenaar <[email protected]> wrote:
>
>
> Yegappan wrote:
>
> > On Tue, Jun 14, 2022 at 12:41 PM John Marriott
> > <[email protected]> wrote:
> > >
> > > On 15-June-2022 05:34, Christian J. Robinson wrote:
> > > > This is related to my problem. I temporarily fixed the problem with
> > > > this command-line:
> > > > CC='' CXX='' make ...
> > > >
> > > Thanks :-)
> >
> > Can you try the attached patch and see whether you can build Vim?
>
> It looks like this checks that $CC is not set to "clang".
> A better check would be if $CC is not empty and not "cc".
> Since "cc" appears to be the default value, and it doesn't work.
>

If $CC is empty or if it is set to "cc", then CC should be set to
"$(CROSS_COMPILE)gcc".
Otherwise, the current value should be used.  Before the clang related change,
$CC was unconditionally always set to "$(CROSS_COMPILE)gcc".  To minimize
breaking other build combinations, I added the check only for clang.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7mpJf3K2E_JVtgB%2Bs9S9tqdJ4AMSU0Cfvr_qSs9UKCbYw%40mail.gmail.com.

Raspunde prin e-mail lui