abuild.conf 1.03 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
11
export SAMUFLAGS=-j$JOBS
Linux User's avatar
Linux User committed
12 13 14

# remove line below to disable colors
USE_COLORS=1
15

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

19
SRCDEST=/var/cache/distfiles
20 21

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

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

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

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