diff options
Diffstat (limited to 'meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch')
-rw-r--r-- | meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch b/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch deleted file mode 100644 index 71c3de9748..0000000000 --- a/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 692523d2f8bf0ce893a781761154db4277f0fceb Mon Sep 17 00:00:00 2001 | ||
2 | From: Wang Mingyu <wangmy@fujitsu.com> | ||
3 | Date: Wed, 19 Jul 2023 07:11:15 +0000 | ||
4 | Subject: remove lto to fix link error of clang | ||
5 | |||
6 | error message: | ||
7 | | tests/tst-y2038-64bit-time_t.p/tst-y2038-64bit-time_t.c.o: file not recognized: file format not recognized | ||
8 | | clang-16: error: linker command failed with exit code 1 (use -v to see invocation) | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
13 | --- | ||
14 | meson.build | 1 - | ||
15 | 1 file changed, 1 deletion(-) | ||
16 | |||
17 | diff --git a/meson.build b/meson.build | ||
18 | index c521577..13d993b 100644 | ||
19 | --- a/meson.build | ||
20 | +++ b/meson.build | ||
21 | @@ -26,7 +26,6 @@ add_project_arguments(['-D_GNU_SOURCE=1', | ||
22 | '-DPROJECT_VERSION="@0@"'.format(meson.project_version()) ], language : 'c') | ||
23 | |||
24 | possible_cc_flags = [ | ||
25 | - '-flto=auto', | ||
26 | '-ffat-lto-objects', | ||
27 | '-fstack-protector-strong', | ||
28 | '-funwind-tables', | ||
29 | -- | ||
30 | 2.34.1 | ||
31 | |||