Description of problem: When building an RPM, I get aph jc1: error: unrecognized command line option "-fmtune=generic" And this is because rpmrc copntains the illegal gcc option --mtune=generic. It should be -mtune=generic (one dash) /usr/lib/rpm/ia32e-linux/macros:11:%optflags -O2 -g -m64 --mtune=generic /usr/lib/rpm/rpmrc:25:optflags: ia64 -O2 -g -m64 --mtune=generic /usr/lib/rpm/rpmrc:26:optflags: x86_64 -O2 -g -m64 --mtune=generic /usr/lib/rpm/rpmrc:28:optflags: ia32e -O2 -g -m64 --mtune=generic /usr/lib/rpm/x86_64-linux/macros:11:%optflags -O2 -g -m64 --mtune=generic
Install redhat-rpm-config for immediate fix (you'll want to have it installed anyway if you're building packages), the rpm default is already fixed upstream and will be in F8 final. *** This bug has been marked as a duplicate of 305221 ***