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