abuild.conf 1 KB
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"
6 7
# Do note that these should work with at least GDC and LDC
export DFLAGS="-Os"
Natanael Copa's avatar
Natanael Copa committed
8

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

# remove line below to disable colors
USE_COLORS=1
14

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

18
SRCDEST=/var/cache/distfiles
19 20

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

25 26
# 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
27
#PACKAGER="Your Name <your@email.address>"
28
#MAINTAINER="$PACKAGER"
Natanael Copa's avatar
Natanael Copa committed
29

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

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