diff options
author | Googler <noreply@google.com> | 2016-06-07 13:58:49 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-06-07 17:52:59 +0000 |
commit | 6eea9bd27fc88129ccb2d74c1b550e83ebf39f17 (patch) | |
tree | 64f370e2505cf23f34945f54230decff20daf2eb /src/tools/xcode | |
parent | 9d52bc56fe0d5c104006e40a84b30711cd90d68b (diff) |
Add export ZERO_AR_DATE=1 to libtool.sh removing possible timestamp issues.
--
MOS_MIGRATED_REVID=124240308
Diffstat (limited to 'src/tools/xcode')
-rwxr-xr-x | src/tools/xcode/libtool/libtool.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/xcode/libtool/libtool.sh b/src/tools/xcode/libtool/libtool.sh index c72f229b00..00fa9e718e 100755 --- a/src/tools/xcode/libtool/libtool.sh +++ b/src/tools/xcode/libtool/libtool.sh @@ -26,6 +26,9 @@ set -eu MY_LOCATION=${MY_LOCATION:-"$0.runfiles/bazel_tools/tools/objc"} WRAPPER="${MY_LOCATION}/xcrunwrapper.sh" +# Ensure 0 timestamping for binary identical results. +export ZERO_AR_DATE=1 + # TODO(b/28347228): When all callers of "xcrunwrapper libtool" are migrated to # using this script, move the symlinking behavior to this script. "${WRAPPER}" libtool "$@" |