toolchain: improve SSP logic
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Tue, 15 Mar 2016 16:40:38 +0000 (16:40 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 May 2016 19:07:24 +0000 (21:07 +0200)
commit794935068bf67171dd101c673c3cb4954035a413
treec382c19c719ecb6cc6f16a41025c2ea0b74f6920
parent925f0897fecbd3d47c432fa6c41bfd0027e5ceb5
toolchain: improve SSP logic

Don't enable SSP support on external toolchains just because they use
glibc or musl. Instead of that, make the external toolchains explictily
declare if they support SSP or not. And also add a check to detect SSP
support when using custom external toolchains.

For internal toolchains we always enable SSP support for glibc and musl.

Fixes:

  http://autobuild.buildroot.net/results/ac7c9b3ad2e52abfe6b79a80045e4218eeb87175/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas:
 - remove uClibc-specific SSP check, since there is now a generic
   check being done.
 - send potential compilation errors caused by the SSP check to
   oblivion, in order to avoid causing confusion for the user.
 - add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/glibc/Config.in
package/musl/Config.in
toolchain/Config.in
toolchain/helpers.mk
toolchain/toolchain-external/Config.in
toolchain/toolchain-external/toolchain-external.mk