Skip to content
Permalink
Browse files

cross/arm-elf-gcc:

Update to version 4.7.3

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117720 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
raimue committed Mar 9, 2014
1 parent 33ee3e0 commit f55aab6565218e6fcd458049db56f69904a0aa8e
Showing with 16 additions and 14 deletions.
  1. +13 −8 cross/arm-elf-gcc/Portfile
  2. +3 −6 cross/arm-elf-gcc/files/patch-gcc-config-arm-t-arm-elf.diff
@@ -4,12 +4,12 @@
PortSystem 1.0

name arm-elf-gcc
version 4.6.1
version 4.7.3
set branch [join [lrange [split ${version} .] 0 1] .]
conflicts arm-elf-gcc3

# Parameters for this port.
set newlibversion 1.19.0
set newlibversion 1.20.0
set crossgcc-target arm-elf
set default-languages --enable-languages="c,c++,objc"

@@ -27,14 +27,14 @@ master_sites gnu:gcc/gcc-${version}/:gcc \
http://www.mirrorservice.org/sites/sourceware.org/pub/newlib/:newlib
distfiles gcc-${version}.tar.bz2:gcc newlib-${newlibversion}.tar.gz:newlib
worksrcdir gcc-${version}

checksums gcc-${version}.tar.bz2 \
md5 c57a9170c677bf795bdc04ed796ca491 \
sha1 8bf66f7a71534ba564563a0ba0b2517aead8ac30 \
rmd160 e12a50dc951b02c62916acfbb181c00cae176fd0 \
md5 86f428a30379bdee0224e353ee2f999e \
rmd160 b4ba153b098cad726ecd28195ee445aa542d37ae \
sha256 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 \
newlib-${newlibversion}.tar.gz \
md5 0966e19f03217db9e9076894b47e6601 \
sha1 b2269d30ce7b93b7c714b90ef2f40221c2df0fcd \
rmd160 a28bd656ec895da0738dac3fb367851a2992d724
sha1 65e7bdbeda0cbbf99c8160df573fd04d1cbe00d1 \
rmd160 e36c5337a74633456b47d09594974c7dd7a9cc3e

patchfiles patch-gcc-config-arm-t-arm-elf.diff

@@ -181,6 +181,11 @@ if {${os.platform} eq "darwin" && (${build_arch} eq "x86_64" || ${build_arch} eq
configure.args-append --build=${build_arch}-apple-darwin${os.major}
}

# the bootstrap compiler doesn't accept -stdlib
if {[info exists configure.cxx_stdlib]} {
configure.cxx_stdlib
}

build.dir ${workpath}/build

build.args ${environment}
@@ -1,6 +1,6 @@
--- gcc/config/arm/t-arm-elf.orig 2011-01-03 14:52:22.000000000 -0600
+++ gcc/config/arm/t-arm-elf 2011-05-29 04:57:20.000000000 -0500
@@ -88,21 +88,21 @@
--- gcc/config/arm/t-arm-elf.orig 2012-08-06 16:34:27.000000000 +0200
+++ gcc/config/arm/t-arm-elf 2014-03-09 16:33:45.000000000 +0100
@@ -74,18 +74,18 @@
# # -mcpu=arm7. Note that in the following the ? is interpreted as
# # an = for the purposes of matching command line options.
# # FIXME: There ought to be a better way to do this.
@@ -34,6 +34,3 @@
+MULTILIB_MATCHES += mcpu?arm7=mcpu?arm600
+MULTILIB_MATCHES += mcpu?arm7=mcpu?arm610
+MULTILIB_MATCHES += mcpu?arm7=mcpu?arm620

EXTRA_MULTILIB_PARTS = crtbegin.o crtend.o crti.o crtn.o

0 comments on commit f55aab6

Please sign in to comment.
You can’t perform that action at this time.