keeping system base update and problems with CPUTYPE

ocean ocean_ieee at
Tue Dec 8 12:51:28 UTC 2009

i've read the manual section, and there's really not much informations 
on this.

i've looked into /usr/src/Makefile and Makefile.incl i've seen there are 
options to update /usr/src using svn (wich would be my preferred option) 
or cvs, but i haven't been able to configure it in any way.

i think i could just do:
svn checkout svn:// /usr/src

but i wanted to keep it clean and organized using make in /usr/src
can someone point me to some informations about this or help me sorting 
this out?

i think i've also found an "unexpected behaviour" in make buildworld, 
i've put src.conf and makefile.conf in /etc/

CFLAGS= -O2 -fno-strict-aliasing -pipe

buildkernel and ports build with the cflags and added -march=pentium-m

buildworld builds with the cflags i've specified without adding -march.
that's a strane behaviour since i think buildworld should build with 
CPUTYPE defined in /etc/make.conf, if you don't define another CPUTYPE 

i've also tried to do:
make CPUTYPE=pentium-m buildworld
and also this way -march isn't added to cflags

i wanted to ask if it's my fault before filling a PR about this.

only way i found to get -march=pentium-m on buildworld is to add it 
myself to CFLAGS in make.conf.


More information about the freebsd-questions mailing list