Fedora 26 Looks At Updating Its CFLAGS / CXXFLAGS

Written by Michael Larabel in Fedora on 6 December 2016 at 06:27 AM EST. 21 Comments
FEDORA
The latest change request coming in for Fedora 26 is to update the default C/C++ compiler flags.

The proposed changes are to add -Werror=implicit-function-declaration and -Werror=implicit-int for helping better prepare C code for future revisions to C and making the code more friendly with C++ programs. Additionally, for Fedora 26 on i686, the plan is to drop -mtune=atom. The tuning for Atom was done previously back when 32-bit Intel Atom CPUs were very common, but now less so, and many i686 Fedora packages are being installed on x86_64 and thus might run a bit faster on current hardware.

Those are the proposed CFLAGS/CXXFLAGS changes so far at least per this Fedora Wiki page. They are rather safe updates but not like the aggressive performance-minded compiler flag defaults used by Clear Linux.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week