How can I switch compiler from clang to gcc46?
Chris Rees
crees at FreeBSD.org
Sat Mar 16 16:07:11 UTC 2013
On 16 March 2013 15:22, Beeblebrox <zaphod at berentweb.com> wrote:
> I just remembered: The last time I tried to compile this, I was on 9-STABLE
> as I recall and I did not have any of the specific problems I am running
> into now. Everything went much more smoothly back then.
The way I've always used gcc to compile ports is to use the USE_GCC=any flag.
Don't put that unconditionally in make.conf however, or you will break
everything because of circular dependencies; either use something
like:
.if ${.CURDIR:M*/category/port}
USE_GCC=any
.endif
or use it on the command line.
Don't forget to make clean first.
Chris
More information about the freebsd-ports
mailing list