Ticket #28611: do-gcc.sh.patch

File do-gcc.sh.patch, 541 bytes (added by NF6X (Mark J. Blair), 14 years ago)

patch 2/3 for mspgcc4

  • do-gcc.sh

    old new  
    120120
    121121cd "gcc-$GCC_VERSION"
    122122
    123 if [ -e "$INITIAL_DIR/gcc-$GCC_VERSION.patch" ]
    124 then
    125         patch -p1 < "$INITIAL_DIR/gcc-$GCC_VERSION.patch"
    126 fi
    127 
    128123if [ x"$GMP_VERSION" != x"-" ]; then
    129124        tar xjf "../gmp-$GMP_VERSION.tar.bz2"
    130125        rm -rf gmp
    131126        mv "gmp-$GMP_VERSION" gmp
    132127fi
    133128
     129if [ -e "$INITIAL_DIR/gcc-$GCC_VERSION.patch" ]
     130then
     131        patch -p1 < "$INITIAL_DIR/gcc-$GCC_VERSION.patch"
     132fi
     133
    134134if [ x"$MPFR_VERSION" != x"-" ]; then
    135135        echo "Unpacking MPFR..."
    136136        tar xjf "../mpfr-$MPFR_VERSION.tar.bz2"