1. VectorLinux Core
  2. vabs

Commits

Uelsk8s  committed 631f9fb

rebuild gcc trying for good java pkg

  • Participants
  • Parent commits bee8b93
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/gcc/src/gcc.SlackBuild

View file
  • Ignore whitespace
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
   LIBDIRSUFFIX=""
   LIB_ARCH=i586
+  SWJAVA="http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/d/gcc-java-4.7.1-i486-1.txz"
 elif [ "$ARCH" = "i686" ]; then
   SLKCFLAGS="-O2 -march=i686"
   LIBDIRSUFFIX=""
   SLKCFLAGS="-O2 -fPIC"
   LIBDIRSUFFIX="64"
   LIB_ARCH=amd64
+  SWJAVA="http://slackware.cs.utah.edu/pub/slackware/slackware64-14.0/slackware/d/gcc-java-4.7.1-x86_64-1.txz"
 elif [ "$ARCH" = "armv7hl" ]; then
   SLKCFLAGS="-O3 -march=armv7-a -mfpu=vfpv3-d16"
   LIBDIRSUFFIX=""
 )
 
 # Add fastjar to the gcc-java package:
+wget $SWJAVA
+installpkg $SWJAVA
+ln -s /usr/lib${LIBDESTDIR}/libmpc.so.3 /usr/lib${LIBDESTDIR}/libmpc.so.2
 ( cd $TMP
   FASTJARVER=$(echo $CWD/fastjar-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)
   echo