community/gitea: fix

This commit is contained in:
Kevin Mihelich 2021-07-20 01:16:00 +00:00
parent 693d6630cc
commit 51f0d5c79b

View file

@ -4,6 +4,8 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - reduce go garbage collection memory usage with GOGC=50
# - set nodejs max memory
# - set go temp dir to /build
# - don't check repo signature until author puts his keys on keyservers
pkgname=gitea
@ -63,6 +65,8 @@ pkgver() {
build() {
cd ${pkgname}
export GOGC=50
export NODE_OPTIONS="--max_old_space_size=1536"
export GOTMPDIR="/build"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"