File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Library/Homebrew/extend/os/mac/extend/ENV Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,12 @@ def setup_build_environment(formula = nil)
9696 self [ "SDKROOT" ] = MacOS . sdk_path
9797 end
9898
99- # Filter out symbols known not to be defined on 10.11 since GNU Autotools
100- # can't reliably figure this out with Xcode 8 on its own yet.
101- if MacOS . version == "10.11" && MacOS ::Xcode . installed? && MacOS ::Xcode . version >= "8.0"
99+ # Filter out symbols known not to be defined since GNU Autotools can't
100+ # reliably figure this out with Xcode 8 and above.
101+ if MacOS . version == "10.12" && MacOS ::Xcode . installed? && MacOS ::Xcode . version >= "9.0"
102+ ENV [ "ac_cv_func_futimens" ] = "no"
103+ ENV [ "ac_cv_func_utimensat" ] = "no"
104+ elsif MacOS . version == "10.11" && MacOS ::Xcode . installed? && MacOS ::Xcode . version >= "8.0"
102105 %w[ basename_r clock_getres clock_gettime clock_settime dirname_r
103106 getentropy mkostemp mkostemps timingsafe_bcmp ] . each do |s |
104107 ENV [ "ac_cv_func_#{ s } " ] = "no"
You can’t perform that action at this time.
0 commit comments