build: set TZ=UTC0
This prevents `make` from trying to regenerate `info` files which may have odd timestamps when this isn't set. See Homebrew/homebrew-core#87470. This actually also addresses a build failure we've seen in CI (see Homebrew/homebrew-core#87641).
This commit is contained in:
parent
6de841cd73
commit
a89f873e8f
@ -138,6 +138,10 @@ class Build
|
||||
# https://reproducible-builds.org/docs/source-date-epoch/
|
||||
ENV["SOURCE_DATE_EPOCH"] = formula.source_modified_time.to_i.to_s
|
||||
|
||||
# Avoid make getting confused about timestamps.
|
||||
# https://github.com/Homebrew/homebrew-core/pull/87470
|
||||
ENV["TZ"] = "UTC0"
|
||||
|
||||
formula.patch
|
||||
|
||||
if args.git?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user