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

20250108-reproducible-build-backtrace
pull/8346/head
David Garske 2025-01-08 15:23:14 -08:00 committed by GitHub
commit 5b07d41cb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

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)