diff options
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch | 19 | ||||
| -rw-r--r-- | meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch new file mode 100644 index 0000000000..1fdf8dbcc2 --- /dev/null +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart/no_lto.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | LTO output is not reproducible. Until it is, disable this. Sadly | ||
| 2 | there is no configuration option to do so at this time. | ||
| 3 | |||
| 4 | Upstream-Status: Pending [may be accept addition of configuration option?] | ||
| 5 | RP 2021/3/1 | ||
| 6 | |||
| 7 | Index: git/configure.ac | ||
| 8 | =================================================================== | ||
| 9 | --- git.orig/configure.ac | ||
| 10 | +++ git/configure.ac | ||
| 11 | @@ -124,7 +124,7 @@ AS_CASE([$CC], [*clang*], | ||
| 12 | |||
| 13 | AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*], | ||
| 14 | [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ | ||
| 15 | - -flto -ffat-lto-objects])], | ||
| 16 | + ])], | ||
| 17 | [AC_MSG_RESULT([skipping -flto, optimization not enabled])]) | ||
| 18 | AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags") | ||
| 19 | |||
diff --git a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb index 58dd5995c8..905a0cbb72 100644 --- a/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb +++ b/meta/recipes-devtools/systemd-bootchart/systemd-bootchart_234.bb | |||
| @@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c | |||
| 11 | SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https \ | 11 | SRC_URI = "git://github.com/systemd/systemd-bootchart.git;protocol=https \ |
| 12 | file://0001-architecture-Recognise-RISCV-32-RISCV-64.patch \ | 12 | file://0001-architecture-Recognise-RISCV-32-RISCV-64.patch \ |
| 13 | file://mips64.patch \ | 13 | file://mips64.patch \ |
| 14 | file://no_lto.patch \ | ||
| 14 | " | 15 | " |
| 15 | 16 | ||
| 16 | SRC_URI_append_libc-musl = " \ | 17 | SRC_URI_append_libc-musl = " \ |
