Ticket #51397: Portfile.arm-none-eabi-gcc.diff

File Portfile.arm-none-eabi-gcc.diff, 1.3 KB (added by denis-fr (Denis), 8 years ago)

diff Portfile arm-none-eabi-gcc

  • Portfile

    old new  
    55PortGroup       compiler_blacklist_versions 1.0
    66
    77crossgcc.setup      arm-none-eabi 5.1.0
    8 crossgcc.setup_libc newlib 1.20.0
     8crossgcc.setup_libc newlib 2.4.0.20160527
    99
    10 revision        1
     10revision        2
    1111maintainers     gmail.com:stuartwesterman openmaintainer
    1212
    1313checksums       gcc-${version}.tar.bz2 \
    1414                rmd160  17a9623f384ce10415a603042e0592c9b4956078 \
    1515                sha256  b7dafdf89cbb0e20333dbf5b5349319ae06e3d1a30bf3515b5488f7e89dca5ad \
    1616                newlib-${crossgcc.libc_version}.tar.gz \
    17                 sha1    65e7bdbeda0cbbf99c8160df573fd04d1cbe00d1 \
    18                 rmd160  e36c5337a74633456b47d09594974c7dd7a9cc3e
     17                sha1    abc52a5bad9c6decaa569aa32cd0882acd7908ac \
     18                rmd160  c86398143803ddb191a27a6fb10920e5b37bb94d
    1919
    2020# specific to ARM
    2121configure.args-append --enable-interwork --disable-newlib-supplied-syscalls
     
    3030    configure.cflags-append -fbracket-depth=512
    3131    configure.cxxflags-append -fbracket-depth=512
    3232}
     33
     34variant libgloss description "libgloss" {
     35    configure.args-append --with-libgloss
     36    post-extract {
     37        ln -s ${workpath}/newlib-${crossgcc.libc_version}/libgloss ${workpath}/gcc-${version}/
     38    }
     39}