gcc and g++ version setting in buildflags.conf
Dominic Fandrey
kamikaze at bsdforen.de
Wed Dec 19 00:18:29 UTC 2012
On 16/12/2012 08:26, Beeblebrox wrote:
> I am running a purely clang world (no gcc42), while I also have gcc46
> installed for ports building. I use ccache for both world and ports. In
> /usr/local/etc/buildflags.conf I have set:
> BUILDFLAGS_GCC= 4.6+
> GCC_DEFAULT_VERSION= 4.6+
> # USE_GCC= 4.6+ # breaks distcc
>
> Some ports builds unfortunately break under this setup because build is
> looking for world's cc (gcc42 or clang). If I do this below, then the build
> completes fine:
> # setenv cc gcc46 && setenv cxx g++46
BUILDFLAGS_GCC takes effect if WITH_GCC is defined and the port being
compiled does not set CC/CXX itself. For more information see
buildflags.mk(1).
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
More information about the freebsd-ports
mailing list