When playing around with compiling optimized src.rpms, I came across this description of how to pass optflags:
http://docs.fedoraproject.org/en-US/...h20s02s02.html
I created a file ~/.rcfile that contains:
When I run :
Code:
rpm --rcfile $HOME/.rcfile --eval "%{optflags}"
the output is always
Code:
-O2 -g -march=pentium3
Am I doing something incorrectly? Is it possible that this could be a bug in rpm/rpmdevtools and/or gcc?
I'm using
gcc 4.5.1-4.fc14
rpm.i686 4.8.1-5.fc14
rpmdevtools 7.10-1.fc14
I'm pretty new to building rpms from source. Any assistance/suggestions would be greatly appreciated. Thanks
-Chris