Thread: CPUFLAGS
View Single Post
  #2   (View Single Post)  
Old 14th July 2015
gsvelto gsvelto is offline
New User
 
Join Date: Oct 2014
Posts: 3
Default

One way to do it is to install the devel/cpuflags package from pkgsrc:

ftp://ftp.netbsd.org/pub/pkgsrc/curr...gs/README.html

Then you will have to add this line to your /etc/mk.conf file:

.sinclude "/usr/pkg/share/mk/cpuflags.mk"

This will set cpu flags for your CPU automatically, however it will not be able to do so for packages that replace CFLAGS entirely.
Reply With Quote