]> git.ipfire.org Git - thirdparty/lxc.git/commit
configure.ac: fix build without stack-protector 2747/head
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 4 Dec 2018 07:40:05 +0000 (08:40 +0100)
committerFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 4 Dec 2018 20:13:47 +0000 (21:13 +0100)
commit3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a
tree375a565d7d9555e526d0c761a48d682a0f2b70ce
parentc1b70110c89c7db6e0a1245bc765bdc3009976ae
configure.ac: fix build without stack-protector

Compiler based hardening (including -fstack-protector-strong) are
enabled since version 3.0.3 and
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>
configure.ac