ENV/super: enable deterministic archive generation
This commit is contained in:
parent
6b893a7563
commit
6337dbfac9
@ -127,6 +127,12 @@ module Superenv
|
||||
# The tools in /usr/bin proxy to the active developer directory.
|
||||
# This means we can use them for any combination of CLT and Xcode.
|
||||
self["HOMEBREW_PREFER_CLT_PROXIES"] = "1"
|
||||
|
||||
# Deterministic timestamping.
|
||||
# This can work on older Xcode versions, but they contain some bugs.
|
||||
# Notably, Xcode 10.2 fixes issues where ZERO_AR_DATE affected file mtimes.
|
||||
# Xcode 11.0 contains fixes for lldb reading things built with ZERO_AR_DATE.
|
||||
self["ZERO_AR_DATE"] = "1" if MacOS::Xcode.version >= "11.0" || MacOS::CLT.version >= "11.0"
|
||||
end
|
||||
|
||||
def no_weak_imports
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user