community/tpm2-tss: reenable function inlining

This commit is contained in:
Erik Larsson 2019-12-14 09:26:24 +01:00 committed by Leo
parent 2f0d7cec5f
commit 7b11e0358c

View File

@ -3,7 +3,7 @@
# Maintainer: Alexander Sack <asac@pantacor.com>
pkgname=tpm2-tss
pkgver=2.3.2
pkgrel=0
pkgrel=1
pkgdesc="TPM 2.0 TSS"
url="https://github.com/tpm2-software/tpm2-tss/"
arch="all"
@ -25,9 +25,7 @@ source="https://github.com/tpm2-software/tpm2-tss/releases/download/$pkgver/tpm2
"
build() {
# Disable inlining so tctildr unit tests will work
# gcc inlines strlen which the cmocka tests tries to wrap
./configure CFLAGS="-fno-inline" \
./configure \
--prefix=/usr \
--without-udevrulesdir \
--with-tctidefaultmodule="libtss2-tcti-device.so" \