help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variables and $(shell ...)


From: Tomas Volf
Subject: Re: Variables and $(shell ...)
Date: Tue, 26 Mar 2024 14:57:05 +0100

On 2024-03-25 20:35:35 -0400, Dmitry Goncharov wrote:
> On Mon, Mar 25, 2024 at 7:40 PM Tomas Volf <~@wolfsden.cz> wrote:
> > I am currently trying to figure out how to correctly pass CC variable to the
> > make.  Passing it as an make variable (`make CC=gcc') seems to work in 
> > almost
> > all cases, but it fails for the `$(shell ...)' construct.
>
> Export to $(shell) was fixed in make-4.4.
> Are you using an older version of make?

Ah, yes, that happens to be it, I am on 4.3.  So I will work around it for now
and hope the distribution will update to newer make one day.  Thank you very
much.

Have a nice day,
Tomas Volf

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]