Changeset 8afa52c in mainline


Ignore:
Timestamp:
2011-09-07T00:02:08Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5081276
Parents:
ac7c7e36
Message:

Port upgraded to version 2.21.1. Added mirror fallback for download.

Location:
uspace/app/binutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/binutils/Makefile

    rac7c7e36 r8afa52c  
    3636# Information for obtaining specific binutils redistributable package.
    3737# Might be subject to change in the future.
    38 REDIST_VERSION = 2.21
     38REDIST_VERSION = 2.21.1
    3939REDIST_NAME = binutils-$(REDIST_VERSION)
    4040REDIST_FILENAME = $(REDIST_NAME).tar.bz2
    4141REDIST_SOURCE = ftp://ftp.gnu.org/gnu/binutils/
     42REDIST_MIRROR = http://www.helenos.org/binutils/
    4243
    4344# Directory for the binutils source tree.
     
    167168$(REDIST_FILENAME):
    168169        wget -c $(REDIST_SOURCE)$(REDIST_FILENAME)
     170        if [ ! -e $(REDIST_FILENAME) ]; then \
     171                wget -c $(REDIST_MIRROR)$(REDIST_FILENAME); \
     172        fi
    169173
    170174# Extract binutils source tree.
  • uspace/app/binutils/toolchain.sh

    rac7c7e36 r8afa52c  
    9595                echo '                  sed '\'s/ [ ]*/ /g\''`"'
    9696                                        # Add flags:
    97                                         # -Wno-shadow
    98                                         #               Silents the warning caused by
    99                                         #               harmless bug in ld/ldlang.h and ld/ldlex.c.
    100 #               echo '          GCC_ARGS="$GCC_ARGS -Wno-shadow"'
     97                                        # -example
     98                                        #               Flag description.
     99#               echo '          GCC_ARGS="$GCC_ARGS -example"'
    101100                echo '          echo' \'"$2"\' '"$GCC_ARGS"' \'"$CFLAGS"\'
    102101                echo "          $2" '$GCC_ARGS' "$CFLAGS"
Note: See TracChangeset for help on using the changeset viewer.