vi /usr/lib/rpm/rpmrc
optflags: i386 -O2 -g -march=i386 -mcpu=i686
optflags: i486 -O2 -g -march=i486
optflags: i586 -O2 -g -march=i586
optflags: i686 -O2 -g -march=i686
optflags: athlon -O2 -g -march=athlon
optflags: ia64 -O2 -g
optflags: x86_64 -O2 -g
optflags: amd64 -O2 -g
optflags: ia32e -O2 -g
或者/root/.bashrc 然后 source /root/.bashrc
export CFLAGS="-march=i686 -O2 -funroll-loops -fexpensive-optimizations"
export CXXFLAGS=$CFLAGS
阅读(819) | 评论(0) | 转发(0) |