mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/gitea: fix
This commit is contained in:
parent
693d6630cc
commit
51f0d5c79b
1 changed files with 4 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue