Simplified bldpkg.conf
This commit is contained in:
parent
216cadea3d
commit
f787c65b82
1 changed files with 17 additions and 20 deletions
37
bldpkg.conf
37
bldpkg.conf
|
@ -13,10 +13,8 @@ pkgext="tlz"
|
|||
|
||||
# Set compressor options. These will be exported in the mkfinalpkg function
|
||||
# for makepkg to pickup.
|
||||
gzipopts="-9c"
|
||||
bzipopts="-9c"
|
||||
lzipopts="-0c"
|
||||
xzopts="-9c"
|
||||
compressor="plzip"
|
||||
compressoropts="-0c"
|
||||
|
||||
# Set this variable if you wish to be prompted for installing (or upgrading)
|
||||
# the package after it has been built successfully. 0 to disable, 1 to
|
||||
|
@ -38,27 +36,30 @@ CXX="g++"
|
|||
# https://www.raspberrypi.org/forums/viewtopic.php?t=11629
|
||||
# Set debug flag
|
||||
gccdebug="-g3"
|
||||
|
||||
# For aarch64
|
||||
# aarch64-musl-linux is not recognised by most configure scripts and I haven't
|
||||
# seen any compile except for gmp going wrong with arm-musl-linux
|
||||
aarch64hostdist="--host=arm-musl-linux"
|
||||
aarch64builddist="--build=arm-musl-linux"
|
||||
aarch64cflags="-O2 -fPIC -pipe -march=armv8-a+crc -mtune=cortex-a53"
|
||||
# Cause: packages that require this have prehistoric config.guess files
|
||||
builddist="--build=arm-musl-linux"
|
||||
# Uncomment as needed. For aarch64
|
||||
CFLAGS="-O2 -fPIC -pipe -march=armv8-a+crc -mtune=cortex-a53"
|
||||
|
||||
# For x86_64
|
||||
x8664builddist="--build=x86_64-musl-linux"
|
||||
x8664cflags="-O2 -fPIC -pipe"
|
||||
#builddist="--build=x86_64-musl-linux"
|
||||
#CFLAGS="-O2 -fPIC -pipe"
|
||||
|
||||
# Whether to use ccache for faster consecutive rebuilds. Set 0 to disable,
|
||||
# 1 to enable.
|
||||
globalccache=0
|
||||
ccache=0
|
||||
|
||||
# Whether to use sccache for faster consecutive builds. Set 0 to disable,
|
||||
# 1 to enable
|
||||
globalsccache=0
|
||||
sccache=0
|
||||
|
||||
# Whether to use distcc for distributed compilations. 0 to disable, 1 to
|
||||
# enable.
|
||||
globaldistcc=0
|
||||
distcc=0
|
||||
|
||||
# Ccache binary location
|
||||
ccachebinpath="/bin/ccache"
|
||||
|
@ -84,11 +85,11 @@ DISTCC_IO_TIMEOUT="1800"
|
|||
# distcc manual for complete info. Must be defined in /etc/hosts unless they
|
||||
# are an IP. Tip: Distcc by default will use only 2 cores on the local
|
||||
# machine.
|
||||
DISTCC_HOSTS="localhost/2 host/2,lzo"
|
||||
DISTCC_HOSTS="localhost/2 mx/2,lzo"
|
||||
|
||||
# Add sum total of the above CPU cores/threads or add your own count
|
||||
# prepended with "-j".
|
||||
cputhreads="-j4"
|
||||
MAKEFLAGS="-j4"
|
||||
|
||||
# Declare a parent temporary directory
|
||||
parenttmp="/tmp"
|
||||
|
@ -96,7 +97,7 @@ parenttmp="/tmp"
|
|||
# Whether to use tmpfs for the package build. The package source will be
|
||||
# extracted and compiled inside the tmpfs directory and ccache will be
|
||||
# disabled to prevent writes to the disk. 1 to enable, 0 to disable.
|
||||
usetmpfs=0
|
||||
tmpfs=0
|
||||
|
||||
# Set the tmpfs directory if the above variable is enabled
|
||||
tmpfsdir="$parenttmp/tmpfsdir"
|
||||
|
@ -180,12 +181,8 @@ strings strip )
|
|||
# 0 to disable.
|
||||
htmloutput=0
|
||||
|
||||
# Validate distcc, ccache and sccache depending on which compiler is enabled
|
||||
# globally above
|
||||
validatecompilers=0
|
||||
|
||||
# Be verbose about compiler output. Make and Cmake currently supported.
|
||||
compilerverbosity=0
|
||||
verbosebuild=0
|
||||
|
||||
# Whether to prompt a user to resume a build if
|
||||
# $tmp/src/.$app-$version.extraction.complete is found or to build the package from scratch
|
||||
|
|
Loading…
Reference in a new issue