[squid-users] compiling 4.0.8 on FreeBSD-10.1
squid3 at treenet.co.nz
Thu Apr 7 14:24:01 UTC 2016
On 7/04/2016 3:57 a.m., Odhiambo Washington wrote:
> My configure options:
> setenv CC clang
> setenv CXX clang++
Something is not right with the above. I dont think its doing what you
think it does.
The Squid ./configure found that a compiler called "c++" was the only
working one, and the libtool ./configure found that gcc was available
and used that. That can only happen if they both see the CC/CXX
variables as being empty.
Normally we setup the environment using shell parameters like this:
./configure CC=clang CXX=clang++ ...
More information about the squid-users