]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power/x86: Enable compiler optimisations and Fortify by default
authorBen Hutchings <ben@decadent.org.uk>
Sun, 16 Sep 2018 15:06:10 +0000 (16:06 +0100)
committerLen Brown <len.brown@intel.com>
Sat, 31 Aug 2019 18:48:34 +0000 (14:48 -0400)
commit9fa9f3575359c2e779e626002b8e42a61981bc5a
treedd10a04ed690c7ebfbcb4b7aab3ed450b2698f4e
parentb2f7c0dfcc6720d67e13bfde67097b4a90f0e6a2
tools/power/x86: Enable compiler optimisations and Fortify by default

Compiling without optimisations is silly, especially since some
warnings depend on the optimiser.  Use -O2.

Fortify adds warnings for unchecked I/O (among other things), which
seems to be a good idea for user-space code.  Enable that too.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/Makefile
tools/power/x86/x86_energy_perf_policy/Makefile