]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
dropbear: fix build with non-SSP capable toolchain
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 28 Apr 2018 15:31:43 +0000 (17:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 28 Apr 2018 15:37:43 +0000 (17:37 +0200)
commitb0aafef6198ee292c4f426295e92cc9b601c2338
treeb8b90df1bfa1b3ab01340314f53b29790ba8868d
parent2e035a9aecc37b87a277fd53f84743a18a6f03a7
dropbear: fix build with non-SSP capable toolchain

By default, Dropbear's configure script enables hardening
flags. Unfortunately, the check for SSP only uses AC_COMPILE_IFELSE(),
and therefore doesn't properly test for the availability of libssp,
visible only at link time.

In addition, Buildroot passes its own hardening flags, depending on
various global options. So, we simply disable hardening flags in
Dropbear.

This fixes a build failure with non-SSP capable toolchains happening
since the bump to 2018.76.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dropbear/dropbear.mk