diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-01-13 14:56:35 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-01-13 21:51:02 +0100 |
commit | 51f6ea542724897c4d4566cebc577c3a458bff72 (patch) | |
tree | c74e3a2c43d7660d1978d1dcbc2715c9428ae490 /package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch | |
parent | 428ed39414ee287fb2d968e7908a39b799fb2787 (diff) | |
download | buildroot-51f6ea542724897c4d4566cebc577c3a458bff72.tar.gz buildroot-51f6ea542724897c4d4566cebc577c3a458bff72.zip |
package/lxc: bump to version 3.1.0
Remove both patches (already in version) and so drop
LXC_AUTORECONF = YES.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch')
-rw-r--r-- | package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch b/package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch deleted file mode 100644 index 744fcbbed3..0000000000 --- a/package/lxc/0002-configure.ac-fix-build-without-stack-protector.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine <fontaine.fabrice@gmail.com> -Date: Tue, 4 Dec 2018 08:40:05 +0100 -Subject: [PATCH] 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 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 9a9adac3..032e4cfd 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -696,7 +696,7 @@ AX_CHECK_COMPILE_FLAG([-Wcast-align], [CFLAGS="$CFLAGS -Wcast-align"],,[-Werror] - AX_CHECK_COMPILE_FLAG([-Wstrict-prototypes], [CFLAGS="$CFLAGS -Wstrict-prototypes"],,[-Werror]) - AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing], [CFLAGS="$CFLAGS -fno-strict-aliasing"],,[-Werror]) - AX_CHECK_COMPILE_FLAG([-fstack-clash-protection], [CFLAGS="$CFLAGS -fstack-clash-protection"],,[-Werror]) --AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [CFLAGS="$CFLAGS -fstack-protector-strong"],,[-Werror]) -+AX_CHECK_LINK_FLAG([-fstack-protector-strong], [CFLAGS="$CFLAGS -fstack-protector-strong"],,[-Werror]) - AX_CHECK_COMPILE_FLAG([-g], [CFLAGS="$CFLAGS -g"],,[-Werror]) - AX_CHECK_COMPILE_FLAG([--mcet -fcf-protection], [CFLAGS="$CFLAGS --mcet -fcf-protection"],,[-Werror]) - AX_CHECK_COMPILE_FLAG([-Werror=implicit-function-declaration], [CFLAGS="$CFLAGS -Werror=implicit-function-declaration"],,[-Werror]) --- -2.14.1 - |