gcc and g++ version setting in buildflags.conf
Beeblebrox
zaphod at berentweb.com
Sun Dec 16 07:26:22 UTC 2012
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
Any suggestions are welcome!
--
View this message in context: http://freebsd.1045724.n5.nabble.com/gcc-and-g-version-setting-in-buildflags-conf-tp5769675.html
Sent from the freebsd-ports mailing list archive at Nabble.com.
More information about the freebsd-ports
mailing list