From de25a84dc205a7ed7a9a98b6b1b7e54e19c374bf Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Fri, 31 Aug 2012 16:50:24 +0900 Subject: [PATCH] fixed build error on Mac OS X --- plugins/python-build/bin/python-build | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index b861f2ce..0fdd2421 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -284,19 +284,6 @@ require_gcc() { echo "${esc}[1mDETAILS${esc}[0m: Apple no longer includes the official GCC compiler with Xcode" echo "as of version 4.2. Instead, the \`gcc\` executable is a symlink to" echo "\`llvm-gcc\`, a modified version of GCC which outputs LLVM bytecode." - echo - echo "For most programs the \`llvm-gcc\` compiler works fine. However," - echo "versions of Python older than 1.9.3-p125 are incompatible with" - echo "\`llvm-gcc\`. To build older versions of Python you must have the official" - echo "GCC compiler installed on your system." - echo - echo "${esc}[1mTO FIX THE PROBLEM${esc}[0m: Install the official GCC compiler using these" - echo "packages: ${esc}[4mhttps://github.com/kennethreitz/osx-gcc-installer/downloads${esc}[0m" - echo - echo "You will need to install the official GCC compiler to build older" - echo "versions of Python even if you have installed Apple's Command Line Tools" - echo "for Xcode package. The Command Line Tools for Xcode package only" - echo "includes \`llvm-gcc\`." fi } >&3 return 1 @@ -346,10 +333,6 @@ verify_gcc() { return 1 fi - if echo "$version" | grep LLVM >/dev/null; then - return 1 - fi - echo "$gcc" }