Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 9e3816bcaa36e1a11647ca0cf4f8044449c77fe0 Mon Sep 17 00:00:00 2001 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 3 | Date: Mon, 2 Jul 2018 15:28:22 +0800 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 4 | Subject: [PATCH] Remove fstack-protector flags to workaround musl build |
| 5 | |
| 6 | Remove fstack-protector and fstack-protector-strong flags to fix |
| 7 | the following build failure for qemux86 and qemuppc with musl. |
| 8 | |
| 9 | undefined reference to `__stack_chk_fail_local' |
| 10 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 11 | Upstream-Status: Inappropriate [musl Specific] |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | |
| 13 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
| 14 | --- |
| 15 | meson.build | 2 -- |
| 16 | 1 file changed, 2 deletions(-) |
| 17 | |
| 18 | diff --git a/meson.build b/meson.build |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 19 | index f432ea072..a734a295c 100644 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 20 | --- a/meson.build |
| 21 | +++ b/meson.build |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 22 | @@ -333,8 +333,6 @@ possible_cc_flags = [ |
| 23 | '-fdiagnostics-show-option', |
| 24 | '-fno-strict-aliasing', |
| 25 | '-fvisibility=hidden', |
| 26 | - '-fstack-protector', |
| 27 | - '-fstack-protector-strong', |
| 28 | '--param=ssp-buffer-size=4', |
| 29 | ] |
| 30 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 31 | -- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 32 | 2.11.0 |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 33 | |