blob: 1fdf8dbcc257709916d52b6820b640785d48f487 [file] [log] [blame]
Andrew Geissler90fd73c2021-03-05 15:25:55 -06001LTO output is not reproducible. Until it is, disable this. Sadly
2there is no configuration option to do so at this time.
3
4Upstream-Status: Pending [may be accept addition of configuration option?]
5RP 2021/3/1
6
7Index: 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