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? _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
