diff options
| author | ilovezfs | 2016-10-29 03:26:52 -0700 |
|---|---|---|
| committer | ilovezfs | 2016-10-29 03:26:52 -0700 |
| commit | e26750e11290f6b299fcbf8419ac051a985e0e1a (patch) | |
| tree | b570ea0b6069d7ae9860563069c0ce7dcb77a81c /Library | |
| parent | 8a7317aa8ff5f12067eb65e529a13490bc69deda (diff) | |
| download | brew-e26750e11290f6b299fcbf8419ac051a985e0e1a.tar.bz2 | |
superenv: treat timingsafe_bcmp as weak on 10.11
Xcode 8.1 added timingsafe_bcmp to string.h and libsystem_c.tbd,
and 10.12.1 added it to libsystem_c.dylib, but it is not present in
libsystem_c.dylib on 10.11.6 (15G1108).
It may appear in libsystem_c.dylib in a later 10.11 release or it may
be marked weak on 10.11 in a later Xcode release.
Fixes Homebrew/homebrew-core#6344.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb index 88e2b0a29..5f4a3e4aa 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb @@ -98,7 +98,7 @@ module Superenv # can't reliably figure this out with Xcode 8 on its own yet. if MacOS.version == "10.11" && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0" %w[basename_r clock_getres clock_gettime clock_settime dirname_r - getentropy mkostemp mkostemps].each do |s| + getentropy mkostemp mkostemps timingsafe_bcmp].each do |s| ENV["ac_cv_func_#{s}"] = "no" end |
