projects/aports·blob v2.11.0 · refs

35 lines · 817 B

1CARCH=x86
2CBUILD=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
12CHOST=$CBUILD
13CTARGET=$CHOST
14
15export CFLAGS="-Os -fomit-frame-pointer"
16export CXXFLAGS="$CFLAGS"
17export CPPFLAGS="$CFLAGS"
18export LDFLAGS="-Wl,--as-needed"
19
20export JOBS=2
21export MAKEFLAGS=-j$JOBS
22
23# remove line below to disable colors
24USE_COLORS=1
25
26SRCDEST=/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 'newapkbuild ...'
34#PACKAGER="Your Name <[email protected]>"
35