lxc: fix build without stack protector
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 4 Dec 2018 20:15:53 +0000 (21:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 6 Dec 2018 20:20:00 +0000 (21:20 +0100)
commit9ab69b00fd353af4fc9105355408c12c4c9f8455
treef60d6d516ccba5e6fe96e757caf4695920082c08
parent6c9c6e2685b7b376420eda814d249ac393aadbfa
lxc: fix build without stack protector

Stack protector has been added in version 3.0.3 by
https://github.com/lxc/lxc/commit/2268c27754152aa538db2c9e3753d72d19bcd17a

However, some compilers could missed the needed library (-lssp or
-lssp_nonshared) at linking step so use ax_check_link_flag instead of
ax_check_compile_flag

Fixes:
 - http://autobuild.buildroot.org/results/0b90e7dca2984652842832a41abad93ac49a9b86

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch [new file with mode: 0644]
package/lxc/lxc.mk