diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2008-05-19 12:26:38 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-06-26 19:46:02 +0200 |
commit | 28eab0d77352b84885f938759bf2612b7bf0bc44 (patch) | |
tree | 787059fef1ab2daae619d60150775ad69c657d85 /lib_sparc | |
parent | dfd3be881c03a26e31f0dea4a42e76061fa610ac (diff) | |
download | u-boot-imx-28eab0d77352b84885f938759bf2612b7bf0bc44.zip u-boot-imx-28eab0d77352b84885f938759bf2612b7bf0bc44.tar.gz u-boot-imx-28eab0d77352b84885f938759bf2612b7bf0bc44.tar.bz2 |
Conditionally add -fno-stack-protector to CFLAGS
When compile-testing on powerpc, I get errors like this:
net/nfs.c:422: undefined reference to `__stack_chk_fail_local'
This seems to be because -fstack-protector is on by default, so
let's explicitly disable it on all architectures that support the
option.
The Ubuntu toolchain is affected by this problem, and according to
Mike Frysinger, Gentoo has been running with SSP enabled for years.
More and more distros are turning SSP on by default, so this problem
is likely to get worse in the future.
Also, powerpc just happens to be one of the arches I do
compile-testing on. There may be other arches affected by this too.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'lib_sparc')
0 files changed, 0 insertions, 0 deletions