| 1 | CARCH=x86 |
| 2 | CBUILD=i486-alpine-linux-uclibc |
| 3 | |
| 4 | # for x86_64 we want: |
| 5 | # CARCH=x86_64 |
| 6 | # CBUILD=x86_64-alpine-linux-uclibc |
| 7 | |
| 8 | # for powerpc we want: |
| 9 | # CARCH=powerpc |
| 10 | # CBUILD=powerpc-alpine-linux-uclibc |
| 11 | |
| 12 | CHOST=$CBUILD |
| 13 | CTARGET=$CHOST |
| 14 | |
| 15 | export CFLAGS="-Os -fomit-frame-pointer" |
| 16 | export CXXFLAGS="$CFLAGS" |
| 17 | export CPPFLAGS="$CFLAGS" |
| 18 | export LDFLAGS="-Wl,--as-needed" |
| 19 | |
| 20 | export JOBS=2 |
| 21 | export MAKEFLAGS=-j$JOBS |
| 22 | |
| 23 | # remove line below to disable colors |
| 24 | USE_COLORS=1 |
| 25 | |
| 26 | SRCDEST=/var/cache/distfiles |
| 27 | |
| 28 | # uncomment line below to store built packages in other location |
| 29 | # The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk |
| 30 | # where $repo is the name of the parent directory of $startdir. |
| 31 | #REPODEST=/var/lib/packages/ |
| 32 | |
| 33 | # PACKAGER is used to create new aports with 'abuild -n ...' |
| 34 | #PACKAGER="Your Name <[email protected]>" |
| 35 | |