diff options
| author | ilovezfs | 2016-09-28 03:31:32 -0700 |
|---|---|---|
| committer | ilovezfs | 2016-09-28 03:31:32 -0700 |
| commit | 88a1b2853a2206a43f957ea71657c1b6d9bc37bb (patch) | |
| tree | 43364b274da157741cbeab974cb7f939d7cb6ea6 | |
| parent | c1533e0ba4d52ede19708f7488371601ed898220 (diff) | |
| download | brew-88a1b2853a2206a43f957ea71657c1b6d9bc37bb.tar.bz2 | |
superenv: more 10.11 clock_gettime Autotools fixes
some build systems check ac_cv_search_clock_gettime instead of
ac_cv_func_clock_gettime so the former should also be set to "no"
libev.m4 unsets ac_cv_func_clock_gettime, but if ac_have_clock_syscall
is defined, it will leave ac_cv_func_clock_gettime alone:
http://cvs.schmorp.de/libev/libev.m4?view=markup#l23
| -rw-r--r-- | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb index 38a81488f..88e2b0a29 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb @@ -101,6 +101,11 @@ module Superenv getentropy mkostemp mkostemps].each do |s| ENV["ac_cv_func_#{s}"] = "no" end + + ENV["ac_cv_search_clock_gettime"] = "no" + + # works around libev.m4 unsetting ac_cv_func_clock_gettime + ENV["ac_have_clock_syscall"] = "no" end # On 10.9, the tools in /usr/bin proxy to the active developer directory. |
