If your version of gcc supports -march, you may use this.
Also -O3 instead of -O2 may help (but does it not work with gcc 4.6).
For example (assume that your shell is bash):
Code:
export CC="gcc -march=native"
export CXX="g++ -march=native"
export CFLAGS="-O3 -fomit-frame-pointer"
export CXXFLAGS="-O3 -fomit-frame-pointer"
./configure
If your version of gcc supports -march, you may use this.
Also -O3 instead of -O2 may help (but does it not work with gcc 4.6).
For example (assume that your shell is bash):
[code]
export CC="gcc -march=native"
export CXX="g++ -march=native"
export CFLAGS="-O3 -fomit-frame-pointer"
export CXXFLAGS="-O3 -fomit-frame-pointer"
./configure
[/code]