source: trunk/dports/cross/arm-none-eabi-gcc/Portfile

Last change on this file was 141182, checked in by jeremyhu@…, 2 years ago

misc: Remove references to older versions of macports-clang that are no longer used

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 141182 2015-10-12 00:05:23Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       crossgcc 1.0
5PortGroup       compiler_blacklist_versions 1.0
6
7crossgcc.setup      arm-none-eabi 5.1.0
8crossgcc.setup_libc newlib 1.20.0
9
10revision        1
11maintainers     gmail.com:stuartwesterman openmaintainer
12
13checksums       gcc-${version}.tar.bz2 \
14                rmd160  17a9623f384ce10415a603042e0592c9b4956078 \
15                sha256  b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad \
16                newlib-${crossgcc.libc_version}.tar.gz \
17                sha1    65e7bdbeda0cbbf99c8160df573fd04d1cbe00d1 \
18                rmd160  e36c5337a74633456b47d09594974c7dd7a9cc3e
19
20# specific to ARM
21configure.args-append --enable-interwork --disable-newlib-supplied-syscalls
22
23# Failed to build with clang from Xcode 4.5
24# fatal error: error in backend: ran out of registers during register allocation
25compiler.blacklist {clang >= 421 < 422}
26
27# GCC's arm target code contains bracket nesting exceeding clangs's default
28# bracket limit.  (https://llvm.org/bugs/show_bug.cgi?id=19650)
29if {[string match "*clang*" ${configure.compiler}]} {
30    configure.cflags-append -fbracket-depth=512
31    configure.cxxflags-append -fbracket-depth=512
32}
Note: See TracBrowser for help on using the repository browser.