On Tue, Jun 28, 2011 at 12:47 PM, Pan Tsu <iny...@gmail.com> wrote: > Garrett Cooper <yaneg...@gmail.com> writes: > > [...] >>> Just noticed, the CFLAGS would disable optimization, which would explain why >>> no one else seems to see this. Still, I think the underlying issue warrants >>> investigation. >> >> Two things are wrong here: >> 1. You should use CC?=, CXX?=, etc in order to properly crossbuild (as >> Warner pointed out to me in another thread). > > Huh? sys.mk already defines ${CC} and *before* make.conf. > > $ echo 'CC ?= clang' >foo.mk > $ __MAKE_CONF=foo.mk make -dv /dev/null |& fgrep :CC > Global:CC = cc
I was probably misremembering CPUTYPE?=. Thanks, -Garrett _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"