nkjsat2
21st April 2004, 02:10 AM
how can i use C FLAGS (for example -O3) with rpmbuild comman ?
thank you.
mhelios
22nd April 2004, 12:27 AM
Edit your /usr/lib/rpm/`uname -p`-linux/macros and alter %optflags to suit your needs, eg:
%optflags i686 -O3 -g -march=i686
You should be able to also place this into ~/.rpmmacros for per $USER configuration. I've not tested this though.
I don't believe there's an option for this in rpmbuild.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.