| 1 | export CFLAGS="-Os -fomit-frame-pointer" |
| 2 | export CXXFLAGS="$CFLAGS" |
| 3 | export CPPFLAGS="$CFLAGS" |
| 4 | export LDFLAGS="-Wl,--as-needed" |
| 5 | export GOFLAGS="-buildmode=pie" |
| 6 | # Do note that these should work with at least GDC and LDC |
| 7 | export DFLAGS="-Os" |
| 8 | |
| 9 | export JOBS=2 |
| 10 | export MAKEFLAGS=-j$JOBS |
| 11 | export SAMUFLAGS=-j$JOBS |
| 12 | |
| 13 | # remove line below to disable colors |
| 14 | USE_COLORS=1 |
| 15 | |
| 16 | # uncomment line below to enable ccache support. |
| 17 | #USE_CCACHE=1 |
| 18 | |
| 19 | SRCDEST=/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. |
| 24 | REPODEST=$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 |
| 32 | CLEANUP="srcdir bldroot pkgdir deps" |
| 33 | |
| 34 | # what to cleanup after a failed build |
| 35 | ERROR_CLEANUP="bldroot deps" |