Re: What's the best way to make "perl Makefile.PL" set the CC variable to a different path?

Shlomi Fish <[email protected]> Thu, 9 Aug 2012 13:48:28 +0300
Newsgroups gmane.comp.lang.perl.modules.extutils-makemaker.devel
Message-ID <[email protected]>
Hi Sisyphus,

On Thu, 9 Aug 2012 19:19:30 +1000
"Sisyphus" <[email protected]> wrote:

> 
> ----- Original Message ----- 
> From: "Shlomi Fish"
> 
> > what is the best way to make perl Makefile.PL set the value of the
> > CC variable in the "Makefile" file
> > to a different value?
> 
> I've a notion that you can override the default CC with (untested):
> 
> perl Makefile.PL CC=whatever
> 

Many thanks, that worked like a charm. I believed I tried it, but maybe
I only tried setting the "CC" environment variable.

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
"Humanity" - Parody of Modern Life - http://shlom.in/humanity

I learned a lot from my teachers, and from my friends more than my teachers,
and from my pupils the most. — Rabbi Hanina

Please reply to list if it's a mailing list post - http://shlom.in/reply .