python@2: --without-computed-gotos isn't needed for >= Xcode 9.3

This commit is contained in:
ilovezfs 2018-05-01 08:04:24 +00:00 committed by commitay
parent 7d450f2121
commit d1455c82e2

View file

@ -94,7 +94,7 @@ class PythonAT2 < Formula
# https://bugs.python.org/issue32616
# https://github.com/Homebrew/homebrew-core/issues/22743
if DevelopmentTools.clang_build_version >= 802 &&
DevelopmentTools.clang_build_version < 1000
DevelopmentTools.clang_build_version < 902
args << "--without-computed-gotos"
end