2014-06-20 08:36:27 +00:00
|
|
|
CHOST=i486-alpine-linux-musl
|
2011-02-09 22:36:19 +00:00
|
|
|
|
|
|
|
# for x86_64 we want:
|
2014-06-20 08:36:27 +00:00
|
|
|
# CHOST=x86_64-alpine-linux-musl
|
2011-02-09 22:36:19 +00:00
|
|
|
|
|
|
|
# for powerpc we want:
|
2014-06-20 08:36:27 +00:00
|
|
|
# CHOST=powerpc-alpine-linux-musl
|
2010-11-19 09:48:53 +00:00
|
|
|
|
|
|
|
export CFLAGS="-Os -fomit-frame-pointer"
|
2008-10-18 08:09:24 +00:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
2008-11-13 10:41:29 +00:00
|
|
|
export CPPFLAGS="$CFLAGS"
|
2008-11-27 17:45:48 +00:00
|
|
|
export LDFLAGS="-Wl,--as-needed"
|
2008-10-18 08:09:24 +00:00
|
|
|
|
2010-01-07 19:56:12 +00:00
|
|
|
export JOBS=2
|
|
|
|
export MAKEFLAGS=-j$JOBS
|
2008-11-08 11:05:45 +00:00
|
|
|
|
|
|
|
# remove line below to disable colors
|
|
|
|
USE_COLORS=1
|
2008-11-27 17:45:48 +00:00
|
|
|
|
2010-11-19 09:48:53 +00:00
|
|
|
SRCDEST=/var/cache/distfiles
|
2008-11-27 17:45:48 +00:00
|
|
|
|
|
|
|
# uncomment line below to store built packages in other location
|
2009-01-22 09:08:50 +00:00
|
|
|
# The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk
|
|
|
|
# where $repo is the name of the parent directory of $startdir.
|
2013-08-01 12:16:57 +00:00
|
|
|
REPODEST=$HOME/packages/
|
2009-01-29 11:56:03 +00:00
|
|
|
|
2011-04-14 05:24:43 +00:00
|
|
|
# PACKAGER is used to create new aports with 'newapkbuild ...'
|
2009-01-29 11:56:03 +00:00
|
|
|
#PACKAGER="Your Name <your@email.address>"
|
|
|
|
|
2013-08-01 12:16:57 +00:00
|
|
|
# what to clean up after a successful build
|
|
|
|
CLEANUP="srcdir pkgdir deps"
|
|
|
|
|
|
|
|
# what to cleanup after a failed build
|
|
|
|
ERROR_CLEANUP="deps"
|