diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2017-08-04 16:36:21 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-08-11 15:56:12 +0000 |
commit | 7c8d331fbb0bb51af441f7e7615be2486e56c0d2 (patch) | |
tree | 6d402db70b1db457828d9afcf9a9b0bee235924a /src/soc/intel/cannonlake/Kconfig | |
parent | b58366a4c056ca8a2dfed61963a1f92e66a2f4da (diff) |
Fine-tune compiler flags
Per default, GCC enables -fdelete-null-pointer-checks, which is
harmful and hence we should disable it:
"Assume that programs cannot safely dereference null pointers, and
that no code or data element resides there."
We want to be careful with our stack usage, hence enable
-fconserve-stack:
"Attempt to minimize stack usage. The compiler will attempt to use
less stack space, even if that makes the program slower."
Change-Id: I74eac2b07c986553f79898a2f2e57bbead4223f8
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: https://review.coreboot.org/20883
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/cannonlake/Kconfig')
0 files changed, 0 insertions, 0 deletions