Unverified Commit 4c3f3253 authored by Bo Anderson's avatar Bo Anderson Committed by GitHub
Browse files

Merge pull request #12482 from Bo98/zero_ar_date

ENV/super: enable deterministic archive generation
parents 976dc2d7 6337dbfa
......@@ -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.
# 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"
def no_weak_imports
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment