abuild.conf 949 Bytes
Newer Older
1
export CFLAGS="-Os -fomit-frame-pointer"
Natanael Copa's avatar
Natanael Copa committed
2
export CXXFLAGS="$CFLAGS"
3
export CPPFLAGS="$CFLAGS"
4
export LDFLAGS="-Wl,--as-needed"
5
export GOFLAGS="-buildmode=pie"
Natanael Copa's avatar
Natanael Copa committed
6

7 8
export JOBS=2
export MAKEFLAGS=-j$JOBS
Linux User's avatar
Linux User committed
9 10 11

# remove line below to disable colors
USE_COLORS=1
12

Joseph Benden's avatar
Joseph Benden committed
13 14 15
# uncomment line below to enable ccache support.
#USE_CCACHE=1

16
SRCDEST=/var/cache/distfiles
17 18

# uncomment line below to store built packages in other location
Natanael Copa's avatar
Natanael Copa committed
19 20
# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
# where $repo is the name of the parent directory of $startdir.
21
REPODEST=$HOME/packages/
Natanael Copa's avatar
Natanael Copa committed
22

23 24
# PACKAGER and MAINTAINER are used by newapkbuild when creating new aports for
# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.
Natanael Copa's avatar
Natanael Copa committed
25
#PACKAGER="Your Name <your@email.address>"
26
#MAINTAINER="$PACKAGER"
Natanael Copa's avatar
Natanael Copa committed
27

28
# what to clean up after a successful build
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
29
CLEANUP="srcdir bldroot pkgdir deps"
30 31

# what to cleanup after a failed build
Kaarle Ritvanen's avatar
Kaarle Ritvanen committed
32
ERROR_CLEANUP="bldroot deps"