> On Sat, Apr 19, 2014 at 12:12:46AM +0400, Andrew Savchenko wrote > > > > I'd like to recommend you this kernel gcc patch which enables > > -march=native support for kernel compilation: > > https://github.com/graysky2/kernel_gcc_patch > > > > Just select native and you will get both best performance and one > > less headache. > > I've been using "-march=native" for years. Is there any circumstance, > other than a really old gcc, where it doesn't work? >
Thank you Andrew I didn't know about this patch. Walter, the kernel uses it's own CFLAGS defined in the makefiles. This patch adds some more options including "native" Regards, Dragostin Yanev

