gcc/musl: rework SSP-support
authorSteven Barth <cyrus@openwrt.org>
Mon, 22 Jun 2015 10:31:07 +0000 (10:31 +0000)
committerSteven Barth <cyrus@openwrt.org>
Mon, 22 Jun 2015 10:31:07 +0000 (10:31 +0000)
commit1877bc9d8f2be143fbe530347a945850d0ecd234
treefe99374fe0af943707c608a4112f662b9d8d7aa3
parente0a3d9d1152a05c7c8ba6cd713e394c862ce9252
gcc/musl: rework SSP-support

Make musl provide libssp_nonshared.a and make GCC link it unconditionally
if musl is used. This should be a no-op if SSP is disabled and seems to be
the only reliable way of dealing with SSP over all packages due to the mess
that is linkerflags handling in packages.

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 46108
config/Config-build.in
include/hardening.mk
include/package-defaults.mk
toolchain/gcc/Config.in
toolchain/gcc/patches/4.8-linaro/030-always-link-ssp-noshared.patch [deleted file]
toolchain/gcc/patches/4.8-linaro/230-musl_libssp.patch [new file with mode: 0644]
toolchain/musl/patches/200-add_libssp_nonshared.patch [new file with mode: 0644]