[Buildroot] [PATCH v3, 2/2] lxc: fix build without stack protector

Peter Korsgaard peter at korsgaard.com
Sun Dec 9 21:37:14 UTC 2018


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > 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 at gmail.com>
 > ---
 > Changes v2 -> v3 (after review of Baruch Siach):
 >  - Add patch to use ac_check_link_flag

 > Changes v1 -> v2 (after review of Thomas Petazzoni):
 >  - Drop patch to add a new option, instead use
 >    ax_cv_check_cflags__Werror__fstack_protector_strong=no

Committed to 2018.11.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list