Merge pull request #8342 from douzzer/20250108-reproducible-build-backtrace

20250108-reproducible-build-backtrace
This commit is contained in:
David Garske
2025-01-08 15:23:14 -08:00
committed by GitHub

View File

@ -573,7 +573,10 @@ then
AS_CASE([$xxx_ar_flags],[*'use zero for timestamps and uids/gids'*],[AR_FLAGS="Dcr" lt_ar_flags="Dcr"])
AS_CASE([$xxx_ranlib_flags],[*'Use zero for symbol map timestamp'*],[RANLIB="${RANLIB} -D"])
AM_CFLAGS="$AM_CFLAGS -DHAVE_REPRODUCIBLE_BUILD -g0"
if test "$ENABLED_DEBUG_TRACE_ERRCODES" != "backtrace"
then
AM_CFLAGS="$AM_CFLAGS -DHAVE_REPRODUCIBLE_BUILD -g0"
fi
# opportunistically use -ffile-prefix-map (added in GCC8 and LLVM10)