Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame^] | 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 | |