mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 15:02:59 +00:00
e3a2e14ffa
This patch is based on earlier work by Timo Teräs.
29 lines
853 B
Plaintext
29 lines
853 B
Plaintext
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 and MAINTAINER are used by newapkbuild when creating new aports for
|
|
# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.
|
|
#PACKAGER="Your Name <your@email.address>"
|
|
#MAINTAINER="$PACKAGER"
|
|
|
|
# what to clean up after a successful build
|
|
CLEANUP="srcdir bldroot pkgdir deps"
|
|
|
|
# what to cleanup after a failed build
|
|
ERROR_CLEANUP="bldroot deps"
|