d/binutils-mingw32: Upgraded to binutils-mingw32-2.20.1.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent 6395021c17
commit 2e15ba6da1
  1. 1
      d/binutils-mingw32/binutils-2.19.1-src.tar.gz.sha1
  2. 1
      d/binutils-mingw32/binutils-2.20.1-src.tar.gz.sha1
  3. 11
      d/binutils-mingw32/binutils-mingw32.SlackBuild

@ -1 +0,0 @@
7e930435c47991c4070b1c74b010350e4669011f binutils-2.19.1-src.tar.gz

@ -0,0 +1 @@
b9b38c62c22cebd191c697aba4d5fad78d9b4867 binutils-2.20.1-src.tar.gz

@ -27,13 +27,13 @@
# Source package infos
NAMESRC=${NAMESRC:-binutils}
VERSION=${VERSION:-2.19.1}
VERSION=${VERSION:-2.20.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-src.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/mingw/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-binutils-mingw32}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
TARGET=${TARGET:-i686-pc-mingw32}
JOBS=${JOBS:-1}
@ -83,7 +83,7 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CFLAGS="$CPUOPT -fno-exceptions" \
./configure \
--prefix=/opt/mingw32 \
--target=$TARGET \
@ -91,7 +91,8 @@ CFLAGS=$CPUOPT \
--with-gnu-as \
--with-gnu-ld \
--disable-nls \
--disable-debug
--disable-debug \
--disable-shared
make -j $JOBS
make install DESTDIR=$PKG
@ -101,7 +102,7 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
# Delete man and info pages, since we already have those of
# the native binutils in /usr
rm -rf $PKG/opt/mingw32/{info,man}
rm -rf $PKG/opt/mingw32/share
# Delete unused library file
rm -rf $PKG/opt/mingw32/lib{,64}

Loading…
Cancel
Save