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