From db141f66a4d71ec2cd7fdf9a1dae2b372372a53f Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Mon, 16 Dec 2013 16:24:25 +0900 Subject: [PATCH] Restored `has_broken_mac_llvm_gcc` which is required to build 3.3+ on Darwin --- plugins/python-build/bin/python-build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index c13093d3..3c5494c1 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1054,6 +1054,11 @@ isolated_gem_install() { gem install "$@" } +has_broken_mac_llvm_gcc() { + [ "$(uname -s)" = "Darwin" ] && + [[ "$(gcc --version 2>/dev/null || true)" == *"llvm-gcc-4.2"* ]] +} + build_package_verify_python() { # Check the existence of ./bin since pyenv-which searches the executables from there if [ ! -d "${PREFIX_PATH}/bin" ]; then