diff options
author | kn <kn@cvs.openbsd.org> | 2021-03-19 23:52:56 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2021-03-19 23:52:56 +0000 |
commit | 2055c5cd9b4faf2c43096d35e61dfb2612d38b34 (patch) | |
tree | 7fe751ce67f9208cba7a4cf44517f275a02d9e86 /distrib | |
parent | 34649c1ee7c9e159ecd43b0917e2a45f305f35b3 (diff) |
Remove libLLVM.so.2.0 on upgrade
It is over a year old and corresponds to LLVM 8.0.0 after the
"-msvr4-struct-return" ABI change; saves 47M (on amd64).
OK deraadt
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 81b001f7029..36741fa9510 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1162 2021/03/12 11:32:03 kn Exp $ +# $OpenBSD: install.sub,v 1.1163 2021/03/19 23:52:55 kn Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -1677,7 +1677,7 @@ install_files() { if [[ $MODE == upgrade ]]; then if isin base$VERSION.tgz $_get_sets; then rm -f /mnt/usr/share/relink/usr/lib/* - rm -rf /mnt/usr/lib/libLLVM.so.[01].0 + rm -rf /mnt/usr/lib/libLLVM.so.[012].0 rm -rf /mnt/usr/libdata/perl5 fi if isin comp$VERSION.tgz $_get_sets; then |