mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Build the 'Release' version instead of 'RelwithAsserts'.
This commit is contained in:
parent
87cd53b396
commit
d238d61cf9
2 changed files with 6 additions and 5 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = aws-lc
|
||||
pkgdesc = general-purpose cryptographic library maintained by the AWS Cryptography team for AWS
|
||||
pkgver = 1.67.0
|
||||
pkgrel = 3
|
||||
pkgrel = 4
|
||||
url = https://github.com/aws/aws-lc
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
|
|
@ -19,7 +19,7 @@ pkgbase = aws-lc
|
|||
optdepends = libunwind: For extra tests
|
||||
optdepends = clang: alternative C/C++ compiler
|
||||
optdepends = llvm: LLVM toolchain utilities (ar, ranlib, etc.) for use with clang
|
||||
options = !strip
|
||||
options = !lto
|
||||
source = aws-lc-1.67.0.tar.gz::https://github.com/aws/aws-lc/archive/refs/tags/v1.67.0.tar.gz
|
||||
b2sums = 2fc94dca5ff6bd2bd387035270bd65674621bc62b4d33522134c881aa81e59131eeb99f3d3e9a72e74e3bbb03770e5c5f425ec28007b58fd28ecc6219693f60f
|
||||
|
||||
|
|
|
|||
7
PKGBUILD
7
PKGBUILD
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
pkgname=aws-lc
|
||||
pkgver=1.67.0
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc='general-purpose cryptographic library maintained by the AWS Cryptography team for AWS'
|
||||
url='https://github.com/aws/aws-lc'
|
||||
license=('MIT' 'ISC' 'Apache-2.0' 'OpenSSL')
|
||||
|
|
@ -35,9 +35,10 @@ optdepends=(
|
|||
arch=('x86_64')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
|
||||
b2sums=('2fc94dca5ff6bd2bd387035270bd65674621bc62b4d33522134c881aa81e59131eeb99f3d3e9a72e74e3bbb03770e5c5f425ec28007b58fd28ecc6219693f60f')
|
||||
options=(!strip)
|
||||
options=(!lto)
|
||||
|
||||
# Temporary: testing with Clang/LLVM toolchain
|
||||
# No need to disable lto in 'options' above when using Clang
|
||||
#_set_clang_toolchain() {
|
||||
# export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib
|
||||
#}
|
||||
|
|
@ -70,7 +71,7 @@ build() {
|
|||
|
||||
cmake -B build \
|
||||
-GNinja \
|
||||
-DCMAKE_BUILD_TYPE=RelWithAsserts \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_SBINDIR:PATH=bin/aws-lc \
|
||||
-DCMAKE_INSTALL_BINDIR:PATH=bin/aws-lc \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue