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