d/gcc-mingw32: Updated.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent 50d1e5ad13
commit be749f7f0c
  1. 7
      d/gcc-mingw32/gcc-mingw32.SlackBuild

@ -32,7 +32,7 @@ BASEURL=${BASEURL:-http://downloads.sourceforge.net/mingw}
# Build infos
NAMEPKG=${NAMEPKG:-gcc-mingw32}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-3GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
TARGET=${TARGET:-i686-pc-mingw32}
JOBS=${JOBS:-1}
@ -92,12 +92,14 @@ done
# Compile stage 2 GCC
cd stage2
CFLAGS="$CPUOPT -fomit-frame-pointer" \
LDFLAGS="-s" \
$TMP/mingw32/gcc-*/configure \
--prefix=/opt/mingw32 \
--target=$TARGET \
--enable-languages=c,c++ \
--disable-debug \
--disable-nls \
--disable-shared \
--with-gcc \
--with-gnu-as \
--with-gnu-ld \
@ -116,9 +118,6 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
# native GCC in /usr)
rm -rf $PKG/opt/mingw32/{info,man}
# Delete unused library file
rm -rf $PKG/opt/mingw32/lib{,64}/libiberty.a
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save