Description of problem: The boost package doesn't honor %optflags: From a build.log on x86_64: ... "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pedantic -g -fno-strict-aliasing -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_HAS_ICU=1 -DBOOST_REGEX_DYN_LINK=1 -DNDEBUG -I"." -I"/usr/include" -c -o "serial/boost/bin.v2/libs/regex/build/gcc-5.0.0/release/debug-symbols-on/pch-off/python-2.7/threading-multi/c_regex_traits.o" "libs/regex/build/../src/c_regex_traits.cpp" .. Note: * -O3 instead of -O2. This is likely to trigger sporadic compiler bugs. * -m64 is missing. This would break multilibs in case Fedora used a gcc non-default multilib as system default (Fedora currently doesn't have one, but Fedora/RHEL once had such architectures - IIRC, the ppc or the sparc) Version-Release number of selected component (if applicable): boost-1.54.0-10.fc20 boost-1.55.0-8.fc21 boost-1.57.0-2.fc22 How reproducible: Always. Steps to Reproduce: Rebuild the boost package and check the build.logs. Expected results: Package to honor %optflags. Additional info: ATM, these issues don't seem to have visibile effects. -O3 is likely to cause hidden bugs, esp. during compiler upgrades, the missing arch-flags (-m64) under some circumstances will cause problems when Fedora will be added new architectures.