diff options
author | Piotr Gorski | 2022-11-17 22:39:14 +0100 |
---|---|---|
committer | Piotr Gorski | 2022-11-17 22:39:14 +0100 |
commit | b7db54789afe716663a414483f55be3aee02e9f0 (patch) | |
tree | c89b6f4b367fdb4f3314c35fada5e41f5d78a677 /PKGBUILD | |
parent | ac019be366ce24327fb419f141036ee3bcdba1ad (diff) | |
download | aur-b7db54789afe716663a414483f55be3aee02e9f0.tar.gz |
Sync with Github
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 2 insertions, 31 deletions
@@ -97,13 +97,6 @@ _kyber_disable=${_kyber_disable-y} # 'none' - disable multigenerational LRU _lru_config=${_lru_config-'standard'} -### Enable per-VMA locking -# ATTENTION - one of three predefined values should be selected! -# 'standard' - enable per-VMA locking -# 'stats' - enable per-VMA locking with stats -# 'none' - disable per-VMA locking -_vma_config=${_vma_config-'standard'} - ## Enable DAMON _damon=${_damon-} @@ -654,28 +647,6 @@ prepare() { exit fi - ### Select VMA config - if [ "$_vma_config" = "standard" ]; then - echo "Enabling per-VMA locking..." - scripts/config --enable PER_VMA_LOCK \ - --disable PER_VMA_LOCK_STATS - elif [ "$_vma_config" = "stats" ]; then - echo "Enabling per-VMA locking with stats..." - scripts/config --enable PER_VMA_LOCK \ - --enable PER_VMA_LOCK_STATS - elif [ "$_vma_config" = "none" ]; then - echo "Disabling per-VMA locking..." - scripts/config --disable PER_VMA_LOCK - else - if [ -n "$_vma_config" ]; then - error "The value $_vma_config is invalid. Choose the correct one again." - else - error "The value is empty. Choose the correct one again." - fi - error "Enabling per-VMA locking failed!" - exit - fi - ### Enable DAMON if [ -n "$_damon" ]; then echo "Enabling DAMON..." @@ -994,7 +965,7 @@ _package-headers() { echo "Stripping build tools..." local file while read -rd '' file; do - case "$(file -bi "$file")" in + case "$(file -Sib "$file")" in application/x-sharedlib\;*) # Libraries (.so) strip -v $STRIP_SHARED "$file" ;; application/x-archive\;*) # Libraries (.a) @@ -1038,7 +1009,7 @@ done sha256sums=('6114a208e82739b4a1ab059ace35262be2a83be34cd1ae23cb8a09337db831c7' 'cf045c82aceef20747a25fe27e464b4728e5dbc24f9abfbf0ae541b810c06744' - '34e2cad286f32d8c1c26e4ff18726c9e0aee151e82088bb78c3ae4fb536bf962' + 'c3aae004fe02ddf781037bf95ca9994692d19eda2b6b99d5cd767ae23edfb2a5' 'e1d45b5842079a5f0f53d7ea2d66ffa3f1497766f3ccffcf13ed00f1ac67f95e' 'a0734e8dc037d4faae845f7f1c837ba1dbf304c786c1fcd4ff317a2959d64006' 'a456fae71414951f4eaa759c8b2b41ce901da365f055bd5a440310a5e0172d7a') |