diff --git a/gcc.SlackBuild b/gcc.SlackBuild index 9c78c0f..d0af34a 100755 --- a/gcc.SlackBuild +++ b/gcc.SlackBuild @@ -150,6 +150,14 @@ tar xvf $CWD/gcc-$VERSION.tar.?z || exit 1 # #zcat $CWD/gcc.66782.diff.gz | patch -p0 --verbose || exit 1 #) || exit 1 +# Add ISL to the source +( cd gcc-$VERSION + ISLVER=$(echo $CWD/isl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev) + rm -rf isl isl-$ISLVER + tar xvf $CWD/isl-$ISLVER.tar.xz || exit 1 + mv isl-$ISLVER isl || exit 1 +) || exit 1 + # Copy ecj.jar into the TLD of the source. Needed for java compiler. # This can be retrieved from ftp://sourceware.org/pub/java cp $CWD/ecj-4.9.jar gcc-$VERSION/ecj.jar @@ -509,6 +517,10 @@ if [ "$ARCH" = "x86_64" ]; then $PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs fi +# Install liblto_plugin.so for binutils +mkdir -p $PKG1/usr/lib/bfd-plugins +ln -sf ../../libexec/gcc/${TARGET}/${VERSION}/liblto_plugin.so $PKG1/usr/lib/bfd-plugins/liblto_plugin.so + # make ada.install-common DESTDIR=$PKG1 # make install-gnatlib DESTDIR=$PKG1 make -i install-info DESTDIR=$PKG1 diff --git a/isl-0.18.tar.xz b/isl-0.18.tar.xz new file mode 100644 index 0000000..53bccec Binary files /dev/null and b/isl-0.18.tar.xz differ