diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2018-09-16 17:06:10 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2019-08-31 20:48:34 +0200 |
commit | 6ac1730f7db86f0a92d4de0f2b4ca9cd124080fe (patch) | |
tree | dd10a04ed690c7ebfbcb4b7aab3ed450b2698f4e /kernel/compat.c | |
parent | tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2 (diff) | |
download | linux-6ac1730f7db86f0a92d4de0f2b4ca9cd124080fe.tar.xz linux-6ac1730f7db86f0a92d4de0f2b4ca9cd124080fe.zip |
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>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions