[arch-commits] Commit in mold/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Feb 23 02:16:50 UTC 2022
Date: Wednesday, February 23, 2022 @ 02:16:49
Author: grawlinson
Revision: 1136211
upgpkg: mold 1.1-2
* Remove dependency: xxhash. It is bundled now.
* Enable debug package.
Modified:
mold/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-23 02:04:32 UTC (rev 1136210)
+++ PKGBUILD 2022-02-23 02:16:49 UTC (rev 1136211)
@@ -3,14 +3,15 @@
pkgname=mold
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc='A Modern Linker'
arch=('x86_64')
url="https://github.com/rui314/mold"
license=('AGPL3')
-depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb' 'xxhash')
+depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb') # xxhash is bundled
makedepends=('git')
checkdepends=('clang')
+options=('debug')
_commit='89612b709638b90c8a044e2f96f47d28054ba789'
source=("$pkgname::git+$url.git#commit=$_commit")
b2sums=('SKIP')
@@ -24,6 +25,7 @@
prepare() {
cd "$pkgname"
+ # use /usr/lib instead of /usr/libexec
sed -i "s/libexec/lib/" Makefile
}
@@ -33,8 +35,7 @@
PREFIX=/usr \
LTO=1 \
SYSTEM_MIMALLOC=1 \
- SYSTEM_TBB=1 \
- SYSTEM_XXHASH=1
+ SYSTEM_TBB=1
}
check() {
@@ -50,7 +51,6 @@
LTO=1 \
SYSTEM_MIMALLOC=1 \
SYSTEM_TBB=1 \
- SYSTEM_XXHASH=1 \
check
}
@@ -61,7 +61,6 @@
LTO=1 \
SYSTEM_MIMALLOC=1 \
SYSTEM_TBB=1 \
- SYSTEM_XXHASH=1 \
DESTDIR="$pkgdir" \
install
}
More information about the arch-commits
mailing list