tech-pkg archive

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

Re: "PKGSRC_COMPILER" setting is not working



On Fri, Jul 22, 2011 at 03:33:17PM +0100, Matthias Scheler wrote:
> 2.) But "CC" still points to "gcc".
> 
> tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>bmake PKGSRC_COMPILER=clang 
> VARNAME=CC show-var
> gcc

Joerg Sonnenberger pointed I need to set "CLANGBASE" and to check for "PKG_CC":

tron@excalibur:/usr/pkgsrc/mail/mutt-devel>cd ../../benchmarks/ttcp 
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>bmake PKGSRC_COMPILER=clang 
CLANGBASE=/usr VARNAME=PKG_CC show-var
/usr/bin/clang

And that works.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index