RW wrote:
> On Sat, 24 Jan 2009 15:27:02 +0100
> Morgan Wesström <freebsd-questi...@pp.dyndns.biz> wrote:
> 
> 
>> The section "options enabled" will list them all. I usually only add
>> "-march=native" to my CFLAGS to enable a few more CPU specific
>> optimizations.
> 
> If you set CPUTYPE, -march is set to match, so setting -march=native
> should be redundant. OTOH a number of other make variables are defined
> from CPUTYPE, so if you set  -march=native, but not CPUTYPE you might
> miss some optimisations based on build options. 
> 
> I've no idea whether there are any such options, just that you're
> probably not going to do better than setting CPUTYPE, and leaving the
> rest alone.

I'm sorry I was unclear. I set CPUTYPE to native of course which is then
passed as -march=native to compiler.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to