summaryrefslogtreecommitdiff
path: root/toolchain/toolchain-buildroot
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-13 17:27:42 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-13 22:06:15 +0100
commitab64b95e4d1957992bcad7e66d3e331a84b1daed (patch)
tree51f8c8fddd4391eac6ed556d0c9d8645ff47367f /toolchain/toolchain-buildroot
parent6b578c8d73b6403e3be8bddf611fb1059d7c2f4b (diff)
toolchain: move Stack Protection Support option
The BR2_USE_SSP option is only used inside the uClibc build, so only meaningful for Buildroot internal toolchains. Therefore, the option is moved to the right location so that it isn't visible when working with external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-buildroot')
-rw-r--r--toolchain/toolchain-buildroot/Config.in.29
1 files changed, 9 insertions, 0 deletions
diff --git a/toolchain/toolchain-buildroot/Config.in.2 b/toolchain/toolchain-buildroot/Config.in.2
index cf426ee32..f1b0a7c58 100644
--- a/toolchain/toolchain-buildroot/Config.in.2
+++ b/toolchain/toolchain-buildroot/Config.in.2
@@ -67,6 +67,15 @@ comment "C++ support broken in uClibc 0.9.31 with locale enabled with gcc 4.2"
BR2_TOOLCHAIN_BUILDROOT_LOCALE && \
BR2_UCLIBC_VERSION_0_9_31
+config BR2_TOOLCHAIN_BUILDROOT_USE_SSP
+ bool "Enable stack protection support"
+ help
+ Enable stack smashing protection support using GCCs
+ -fstack-protector[-all] option.
+
+ See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
+ for details.
+
source "toolchain/elf2flt/Config.in"
source "toolchain/mklibs/Config.in"
source "toolchain/sstrip/Config.in"