Skip to content

Commit

Permalink
arm-none-eabi-gcc: whitespace only
Browse files Browse the repository at this point in the history
  • Loading branch information
mojca committed Apr 13, 2018
1 parent ca361c5 commit ec228cb
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions cross/arm-none-eabi-gcc/Portfile
@@ -1,32 +1,35 @@
PortSystem 1.0
PortGroup crossgcc 1.0
PortGroup compiler_blacklist_versions 1.0
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup crossgcc 1.0
PortGroup compiler_blacklist_versions 1.0

crossgcc.setup arm-none-eabi 5.4.0
crossgcc.setup_libc newlib 2.5.0

revision 3
maintainers nomaintainer
revision 3
maintainers nomaintainer

checksums gcc-${version}.tar.bz2 \
rmd160 7ae3413ca7e90bb21e65e637c02ddf2b675b45f4 \
sha256 608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a \
newlib-${crossgcc.libc_version}.tar.gz \
sha1 be1f1960bce564130a0cf9598e388fcc437169dc \
rmd160 fc2beafe309701e02da3d2dff737236f67c0de4d \
sha256 5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b
checksums gcc-${version}.tar.bz2 \
rmd160 7ae3413ca7e90bb21e65e637c02ddf2b675b45f4 \
sha256 608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a \
newlib-${crossgcc.libc_version}.tar.gz \
sha1 be1f1960bce564130a0cf9598e388fcc437169dc \
rmd160 fc2beafe309701e02da3d2dff737236f67c0de4d \
sha256 5b76a9b97c9464209772ed25ce55181a7bb144a66e5669aaec945aa64da3189b

patchfiles patch-enable-with-multilib-list-for-arm.diff
patch.pre_args -p1
patchfiles patch-enable-with-multilib-list-for-arm.diff
patch.pre_args -p1

# specific to ARM
configure.args-append --enable-interwork \
--disable-newlib-supplied-syscalls \
--with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r
configure.args-append \
--enable-interwork \
--disable-newlib-supplied-syscalls \
--with-multilib-list=armv6-m,armv7-m,armv7e-m,cortex-m7,armv7-r

# Failed to build with clang from Xcode 4.5
# fatal error: error in backend: ran out of registers during register allocation
compiler.blacklist {clang >= 421 < 422}
compiler.blacklist {clang >= 421 < 422}

# GCC's arm target code contains bracket nesting exceeding clangs's default
# bracket limit. (https://llvm.org/bugs/show_bug.cgi?id=19650)
Expand Down

0 comments on commit ec228cb

Please sign in to comment.