summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch b/meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
index e913e3f7b5..d745800ced 100644
--- a/meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
+++ b/meta/recipes-core/systemd/systemd/0001-Remove-fstack-protector-flags-to-workaround-musl-bui.patch
@@ -1,6 +1,6 @@
1From e361f6b4aefae57efff7e457df8db4d1067bec23 Mon Sep 17 00:00:00 2001 1From 9e3816bcaa36e1a11647ca0cf4f8044449c77fe0 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 28 Feb 2018 21:50:23 -0800 3Date: Mon, 2 Jul 2018 15:28:22 +0800
4Subject: [PATCH] Remove fstack-protector flags to workaround musl build 4Subject: [PATCH] Remove fstack-protector flags to workaround musl build
5 5
6Remove fstack-protector and fstack-protector-strong flags to fix 6Remove fstack-protector and fstack-protector-strong flags to fix
@@ -8,7 +8,7 @@ the following build failure for qemux86 and qemuppc with musl.
8 8
9 undefined reference to `__stack_chk_fail_local' 9 undefined reference to `__stack_chk_fail_local'
10 10
11Upstream-Status: Inappropriate [OE Specific] 11Upstream-Status: Inappropriate [musl Specific]
12 12
13Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 13Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
14--- 14---
@@ -16,18 +16,18 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
16 1 file changed, 2 deletions(-) 16 1 file changed, 2 deletions(-)
17 17
18diff --git a/meson.build b/meson.build 18diff --git a/meson.build b/meson.build
19index 7610ab12b..591b9cbab 100644 19index f432ea072..a734a295c 100644
20--- a/meson.build 20--- a/meson.build
21+++ b/meson.build 21+++ b/meson.build
22@@ -329,8 +329,6 @@ foreach arg : ['-Wextra', 22@@ -333,8 +333,6 @@ possible_cc_flags = [
23 '-fdiagnostics-show-option', 23 '-fdiagnostics-show-option',
24 '-fno-strict-aliasing', 24 '-fno-strict-aliasing',
25 '-fvisibility=hidden', 25 '-fvisibility=hidden',
26- '-fstack-protector', 26- '-fstack-protector',
27- '-fstack-protector-strong', 27- '-fstack-protector-strong',
28 '--param=ssp-buffer-size=4', 28 '--param=ssp-buffer-size=4',
29 ] 29 ]
30 if cc.has_argument(arg) 30
31-- 31--
322.13.0 322.11.0
33 33