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. OK, it's a step in the right direction. It might still overrule a user's preferred compiler though. -- JOHN CLEESE PLAYED: SECOND SOLDIER WITH A KEEN INTEREST IN BIRDS, LARGE MAN WITH DEAD BODY, BLACK KNIGHT, MR NEWT (A VILLAGE BLACKSMITH INTERESTED IN BURNING WITCHES), A QUITE EXTRAORDINARILY RUDE FRENCHMAN, TIM THE WIZARD, SIR LAUNCELOT "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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/20220615173314.1B3571C233D%40moolenaar.net.
