I am looking for the way to compile kernel with -mtune=native.
For one of my Debian with atom N270, I would like to use full cpu potential.
As suggested by several other threads, (1
, gentoo wiki
I think (hope) it works.
So far, I have done
export KCFLAGS="-O2 -mtune=native -pipe"
export KPPCFLAGS="-O2 -mtune=native -pipe"
It seems good. However I am not quite sure if this really overrides processor selection in menuconfig.
Am I correct?
Any input will be appreciated.