Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix build with Lion and XCode 4.1

Apparenty Apple supplied llvm-gcc is not able to bootstrap gcc. Workaround is to build gcc with clang. Bug is similar to:

https://trac.macports.org/ticket/29104
  • Loading branch information...
commit 124853640317af04e11269c517d449dbd202773d 1 parent 3a4f8ce
@tuupola authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 avr/avr-gcc.rb
View
4 avr/avr-gcc.rb
@@ -51,6 +51,10 @@ def install
ENV.delete 'NM'
ENV.delete 'RANLIB'
+ if MacOS.lion?
+ ENV['CC'] = 'clang'
+ end
+
args = [
"--target=avr",
"--disable-libssp",
Please sign in to comment.
Something went wrong with that request. Please try again.