Restored has_broken_mac_llvm_gcc which is required to build 3.3+ on Darwin

This commit is contained in:
Yamashita Yuu 2013-12-16 16:24:25 +09:00
parent fe07deb193
commit db141f66a4

View file

@ -1054,6 +1054,11 @@ isolated_gem_install() {
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() { build_package_verify_python() {
# Check the existence of ./bin since pyenv-which searches the executables from there # Check the existence of ./bin since pyenv-which searches the executables from there
if [ ! -d "${PREFIX_PATH}/bin" ]; then if [ ! -d "${PREFIX_PATH}/bin" ]; then