summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/;$/*;/
+ '
)"