diff options
author | Raymond Danks <raymonddanks@gmail.com> | 2011-09-03 21:45:38 -0600 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2011-09-24 12:55:26 +0200 |
commit | 62ff00e13f3fb349bb8ce3065f6915448bfd875e (patch) | |
tree | d1b7cf70d533cd4d90f0007cda5e3a2be0caf2c5 /src/arch/x86 | |
parent | 03f82bd787833db4c341a129a3329ea0aead6235 (diff) |
mkelfImage: Use -fno-stack-protector if supported by gcc
Gcc 4.1 comes with an SSP https://wiki.ubuntu.com/GccSsp
This is disabled to work around '__stack_chk_fail' symbol not found failures
http://www.coreboot.org/FAQ/Obsolete#How_do_I_fix_stack_chk_fail_errors.3F
The presence of -fno-stack-protector is tested for automatically by configure.
Change-Id: I28ef158829f5935f985cfd5a5440733685cf479a
Reported-by: Raymond Danks <raymonddanks@gmail.com>
Signed-off-by: Raymond Danks <raymonddanks@gmail.com>
Reviewed-on: http://review.coreboot.org/112
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/arch/x86')
0 files changed, 0 insertions, 0 deletions