看板 FB_current 關於我們 聯絡資訊
On Tue, Jun 28, 2011 at 12:47 PM, Pan Tsu <inyaoo@gmail.com> wrote: > Garrett Cooper <yanegomi@gmail.com> writes: > > [...] >>> Just noticed, the CFLAGS would disable optimization, which would explai= n why >>> no one else seems to see this. =A0Still, I think the underlying issue w= arrants >>> investigation. >> >> Two things are wrong here: >> 1. You should use CC?=3D, CXX?=3D, 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. > > =A0$ echo 'CC ?=3D clang' >foo.mk > =A0$ __MAKE_CONF=3Dfoo.mk make -dv /dev/null |& fgrep :CC > =A0Global:CC =3D cc I was probably misremembering CPUTYPE?=3D. Thanks, -Garrett _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"