Re: Variables and $(shell ...)
Tomas Volf <[email protected]> Tue, 26 Mar 2024 14:57:05 +0100
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Message-ID | <ZgLUMQefWrPJmC7-@ws> |
On 2024-03-25 20:35:35 -0400, Dmitry Goncharov wrote: > On Mon, Mar 25, 2024 at 7:40 PM Tomas Volf <[email protected]> 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.
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmYC1DEACgkQL7/ufbZ/ wakb6w/8D+DtxpdxI4hpWQXMJzJd1gftvdJVavdGHmSMDg2opYpsgZuSCUTqCPq6 BSIldE+xkqz2wcyvfff73fX9IisV4cJ6/GCIgtjq9RBJ9E6IXIau6p1xV4eq9yuh 43wVckdpulNi6GWyG4kvmq0nbP6OtCydSL7fKB8kskSbYB3fSW0a5BZHdFXv8Oav OmYJ5wN/oeAEkbRBzeuUQabwWmrHaobs3fzt+t8awZ5AkiaIrEQGxJZq+rGbq4to lLd4wErTzHDRTTPHDH8MWIEuVLnserQ50L/AikFphXJa9CSlQ+705CoctKNO78cr Pvpcg7dKA03cu28MpNdyZPEZGFaWQ6ftnngZg84tPPssytBqe29LEmzNq/iA8QIa NVT8rFy5YsbiBSSqMzk6MUomqOu+yoeTgeEdm+IGBocw6NxZeyKliJRcY+QLkvqn dyDBcmU5WhPC9k0XkT1ZsJeJpxOnxchm2yeRt6+XR2s9YnMe36GjkDHdruBhFA+W rUgjMbmuTY52/nmReGb96YfmR+gNzebuhxCg/FFCJ7W6fSdol8Wv1l8EMg+mtJF+ 5qPZdx7TyFeoQvYu+plYh+/2yrv/+6SmR2xG5po9O6uLY4iKbakbjDUlLEMe1rh+ OmyDJG5XPki0O63KqCRzB4tL3y/awB0KZIvoYWdjKOiORkoYhhA= =OJJ8 -----END PGP SIGNATURE-----