mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-10 22:43:56 +00:00
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" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
8922def6b4
commit
b17f8707c1
@ -74,6 +74,15 @@ config CC_GCC_LIBGOMP
|
||||
|
||||
The default is 'N'. Say 'Y' if you need it, and report success/failure.
|
||||
|
||||
config CC_GCC_LIBSSP
|
||||
bool
|
||||
prompt "Compile libssp"
|
||||
default n
|
||||
help
|
||||
libssp is the run-time Stack-Smashing Protection library.
|
||||
|
||||
The default is 'N'. Say 'Y' if you need it, and report success/failure.
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
comment "Misc. obscure options."
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user