From b17f8707c142be9ee65abf5b19fa9dcf16753590 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 9 Oct 2010 11:38:04 +0200 Subject: cc/gcc: add an option to enable/disable build of libssp libssp is the run-time Stack-Smashing Protection library. It can be usefull to have or miss, depends... Signed-off-by: "Yann E. MORIN" --- scripts/build/cc/gcc.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/build/cc/gcc.sh') diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index 4d78eabd..db91f869 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -376,6 +376,11 @@ do_cc() { else extra_config+=(--disable-libgomp) fi + if [ "${CT_CC_GCC_LIBSSP}" = "y" ]; then + extra_config+=(--enable-libssp) + else + extra_config+=(--disable-libssp) + fi if [ "${CT_CC_STATIC_LIBSTDCXX}" = "y" ]; then # this is from CodeSourcery arm-2010q1-202-arm-none-linux-gnueabi.src.tar.bz2 -- cgit v1.2.3