projects/aports·blob 3.7.0 · refs

35 lines · 1.0 KiB

1export CFLAGS="-Os -fomit-frame-pointer"
2export CXXFLAGS="$CFLAGS"
3export CPPFLAGS="$CFLAGS"
4export LDFLAGS="-Wl,--as-needed"
5export GOFLAGS="-buildmode=pie"
6# Do note that these should work with at least GDC and LDC
7export DFLAGS="-Os"
8
9export JOBS=2
10export MAKEFLAGS=-j$JOBS
11export SAMUFLAGS=-j$JOBS
12
13# remove line below to disable colors
14USE_COLORS=1
15
16# uncomment line below to enable ccache support.
17#USE_CCACHE=1
18
19SRCDEST=/var/cache/distfiles
20
21# uncomment line below to store built packages in other location
22# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
23# where $repo is the name of the parent directory of $startdir.
24REPODEST=$HOME/packages/
25
26# PACKAGER and MAINTAINER are used by newapkbuild when creating new aports for
27# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.
28#PACKAGER="Your Name <[email protected]>"
29#MAINTAINER="$PACKAGER"
30
31# what to clean up after a successful build
32CLEANUP="srcdir bldroot pkgdir deps"
33
34# what to cleanup after a failed build
35ERROR_CLEANUP="bldroot deps"