forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support deterministic mode when using a version of libtool that suppo…
…rts it. Xcode 10.2 adds a new flag `-D` to libtool that sets archive contents' user ids, group ids, dates, and file modes to reasonable defaults. This patch adds this new flag to all libtool actions to when they're built with a version of libtool that supports this mode, to ensure hemertic results for linking actions. Note that this new flag covers the functionality of the `ZERO_AR_DATE` environment variable, but this variable is still being left in the libtool wrapper for backward-compatibility with older versions. Fixes bazelbuild#10886. RENOTES: None. Closes bazelbuild#11840. PiperOrigin-RevId: 327086633
- Loading branch information
1 parent
05f137a
commit d483d6f
Showing
2 changed files
with
47 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters