diff options
author | Jonas Witschel | 2021-12-17 18:46:55 +0100 |
---|---|---|
committer | Jonas Witschel | 2021-12-17 18:46:55 +0100 |
commit | c5bfbc78efc3805a9cd8e94b1570b9bf8ae45e48 (patch) | |
tree | 65add46d75b6b28e313b243e20898c873e9cec2f | |
parent | d79fb56e196159b757b2caba123aa2073d7cf031 (diff) | |
download | aur-c5bfbc78efc3805a9cd8e94b1570b9bf8ae45e48.tar.gz |
tpm2-software: disable link time optimisation
The test suites of this package use -Wl,--wrap which does not work with LTO
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643), so disable it for now.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = tpm2-tools-git pkgdesc = Trusted Platform Module 2.0 tools based on tpm2-tss - pkgver = 5.0.r15.713c2ab5 + pkgver = 5.2.r64.7fc5a005 pkgrel = 1 url = https://github.com/tpm2-software/tpm2-tools arch = x86_64 @@ -28,8 +28,8 @@ pkgbase = tpm2-tools-git optdepends = tpm2-abrmd: user space resource manager provides = tpm2-tools conflicts = tpm2-tools + options = !lto source = git+https://github.com/tpm2-software/tpm2-tools.git sha512sums = SKIP pkgname = tpm2-tools-git - @@ -1,7 +1,7 @@ # Maintainer: Jonas Witschel <diabonas@archlinux.org> # Contributor: Hexchain Tong <i at hexchain dot org> pkgname=tpm2-tools-git -pkgver=5.0.r15.713c2ab5 +pkgver=5.2.r64.7fc5a005 pkgrel=1 pkgdesc='Trusted Platform Module 2.0 tools based on tpm2-tss' arch=('x86_64') @@ -14,6 +14,7 @@ checkdepends=('cmocka' 'expect' 'iproute2' 'python-yaml' 'swtpm' 'tpm2-abrmd' 'x optdepends=('tpm2-abrmd: user space resource manager') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") +options=('!lto') source=("git+$url.git") sha512sums=('SKIP') @@ -41,5 +42,5 @@ check() { package() { cd "${pkgname%-git}" make DESTDIR="$pkgdir" install - install -Dm644 doc/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" + install -Dm644 docs/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" } |