aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2023-03-07 00:22:48 +0000
committerpsykose <alice@ayaya.dev>2023-03-07 01:22:49 +0100
commitb09cf98fd2b486c9fcb4dc11fd76fbfa8b4915ff (patch)
tree8e1e9ad9e789530bba38736d6ffc7a508a89e4c3
parenteb94a05cbf125a6866aba8f321287f722dbf39ba (diff)
main/lmdb: utilise system vars
-rw-r--r--main/lmdb/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/lmdb/APKBUILD b/main/lmdb/APKBUILD
index 17a4cadc1e4..c76338b34b2 100644
--- a/main/lmdb/APKBUILD
+++ b/main/lmdb/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=lmdb
pkgver=0.9.30
-pkgrel=0
+pkgrel=1
pkgdesc="Lightning Memory-Mapped Database"
url="https://symas.com/lmdb/"
arch="all"
@@ -20,7 +20,7 @@ prepare() {
}
build() {
- make CFLAGS+="-fPIC"
+ make CC="${CC:-cc}" LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS -O2 -fPIC"
}
check() {