summaryrefslogtreecommitdiff
path: root/community/gcc7/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-13 09:14:19 +0200
committerErich Eckner <git@eckner.net>2018-06-13 09:14:19 +0200
commitcc5d84b3810157ee3fb4548c10db55fe6e664242 (patch)
tree69714f36350879dd73517db063908762e5df24d2 /community/gcc7/PKGBUILD
parentc87de9466957ea168e3e7868d92af681249bfb5a (diff)
downloadpackages-cc5d84b3810157ee3fb4548c10db55fe6e664242.tar.xz
community/gcc7: remove /usr/lib/gcc/i686-pc-linux-gnu/7.3.1/libgcc_s.so.1 - it is already in gcc7-libs
Diffstat (limited to 'community/gcc7/PKGBUILD')
-rw-r--r--community/gcc7/PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/gcc7/PKGBUILD b/community/gcc7/PKGBUILD
index 30135d70..2fc92ce0 100644
--- a/community/gcc7/PKGBUILD
+++ b/community/gcc7/PKGBUILD
@@ -6,4 +6,8 @@ eval "$(
/libgcc_s/ d
s@libsanitizer/{a,l,ub,t}san@libsanitizer/{a,l,ub}san@
'
+ declare -f package_gcc7 | \
+ sed '
+ /^\s*rm .*lib{stdc++,gcc_s}\.so;$/ s/;$/*;/
+ '
)"