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"
|
2019-03-17 16:03:59 +00:00
|
|
|
export GOFLAGS="-buildmode=pie"
|
2020-07-03 09:50:22 +00:00
|
|
|
# Do note that these should work with at least GDC and LDC
|
|
|
|
export DFLAGS="-Os"
|
2008-10-18 08:09:24 +00:00
|
|
|
|
2010-01-07 19:56:12 +00:00
|
|
|
export JOBS=2
|
|
|
|
export MAKEFLAGS=-j$JOBS
|
2020-09-03 09:54:47 +00:00
|
|
|
export SAMUFLAGS=-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
|
|
|
|
2019-07-20 01:14:20 +00:00
|
|
|
# uncomment line below to enable ccache support.
|
|
|
|
#USE_CCACHE=1
|
|
|
|
|
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
|
|
|
|
2015-06-04 11:26:02 +00:00
|
|
|
# PACKAGER and MAINTAINER are used by newapkbuild when creating new aports for
|
|
|
|
# the APKBUILD's "Contributor:" and "Maintainer:" comments, respectively.
|
2009-01-29 11:56:03 +00:00
|
|
|
#PACKAGER="Your Name <your@email.address>"
|
2015-06-04 11:26:02 +00:00
|
|
|
#MAINTAINER="$PACKAGER"
|
2009-01-29 11:56:03 +00:00
|
|
|
|
2013-08-01 12:16:57 +00:00
|
|
|
# what to clean up after a successful build
|
2017-04-05 13:28:13 +00:00
|
|
|
CLEANUP="srcdir bldroot pkgdir deps"
|
2013-08-01 12:16:57 +00:00
|
|
|
|
|
|
|
# what to cleanup after a failed build
|
2017-04-05 13:28:13 +00:00
|
|
|
ERROR_CLEANUP="bldroot deps"
|