summaryrefslogtreecommitdiffstats
path: root/source/d/gcc/gcc.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-11-12 03:35:35 +0000
committer Eric Hameleers <alien@slackware.com>2019-11-12 08:59:29 +0100
commit5b3ef97b5c1492f58065f7a3820f557400b3206d (patch)
treee2fd805373dfa3c2a3de9fcedda388c49d4519a4 /source/d/gcc/gcc.SlackBuild
parentccd1c3535c8dddf0cc8df21b4d3bdf6dac2b39bd (diff)
downloadcurrent-5b3ef97b5c1492f58065f7a3820f557400b3206d.tar.gz
current-5b3ef97b5c1492f58065f7a3820f557400b3206d.tar.xz
Tue Nov 12 03:35:35 UTC 201920191112033535
ap/sysstat-12.2.0-x86_64-1.txz: Upgraded. d/gcc-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-brig-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-g++-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-gdc-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-gfortran-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-gnat-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-go-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/gcc-objc-9.2.0-x86_64-3.txz: Rebuilt. Recompiled against isl-0.22. d/perl-5.30.1-x86_64-1.txz: Upgraded. Upgraded to XML-Parser-2.46. d/vala-0.46.4-x86_64-1.txz: Upgraded. l/isl-0.22-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/libplist-2.1.0-x86_64-1.txz: Upgraded. testing/packages/kernel-generic-5.4.0_rc7-x86_64-1.txz: Upgraded. testing/packages/kernel-headers-5.4.0_rc7-x86-1.txz: Upgraded. testing/packages/kernel-huge-5.4.0_rc7-x86_64-1.txz: Upgraded. testing/packages/kernel-modules-5.4.0_rc7-x86_64-1.txz: Upgraded. testing/packages/kernel-source-5.4.0_rc7-noarch-1.txz: Upgraded. +VBOXSF_FS m
Diffstat (limited to 'source/d/gcc/gcc.SlackBuild')
-rwxr-xr-xsource/d/gcc/gcc.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/d/gcc/gcc.SlackBuild b/source/d/gcc/gcc.SlackBuild
index 2c10fdcdc..f5434b7f2 100755
--- a/source/d/gcc/gcc.SlackBuild
+++ b/source/d/gcc/gcc.SlackBuild
@@ -57,7 +57,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=gcc
SRCVER=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
VERSION=$(echo $SRCVER | cut -f 1 -d _)
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# How many jobs to run in parallel:
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -610,6 +610,10 @@ rm -f $PKG1/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libgdruntime* usr/lib${LIBDIRSUFFIX}
mv $PKG1/usr/lib${LIBDIRSUFFIX}/libgphobos* usr/lib${LIBDIRSUFFIX}
+ # Don't package the (bloated) libgphobos.a or libgdruntime.a.
+ # As a rule, we don't package static libraries.
+ rm -f usr/lib${LIBDIRSUFFIX}/libgphobos.a
+ rm -f usr/lib${LIBDIRSUFFIX}/libgdruntime.a
mkdir -p usr/libexec/gcc/$TARGET/$VERSION
mv $PKG1/usr/libexec/gcc/$TARGET/$VERSION/d21 usr/libexec/gcc/$TARGET/$VERSION
mkdir -p usr/lib${LIBDIRSUFFIX}/gcc/$TARGET/$VERSION/include