2014-03-22 12:31:42 +01:00
|
|
|
# --*-- shell --*--
|
|
|
|
#
|
|
|
|
# etc/defaults.conf
|
|
|
|
# default configuration of etc/conf
|
|
|
|
#
|
|
|
|
# DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING UPDATES,
|
|
|
|
# EDIT etc/conf INSTEAD.
|
|
|
|
#
|
|
|
|
# To disable an option comment it out, don't set it to another value i.e:
|
|
|
|
# FOO=no -> wrong
|
|
|
|
# #FOO=yes -> correct
|
|
|
|
#
|
|
|
|
# Please also use ${FOO} style for shell variables because some parsers
|
|
|
|
# rely on this to work properly.
|
|
|
|
#
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
2015-06-09 09:23:06 +02:00
|
|
|
# Enable optional arguments to xbps-install for the host system.
|
|
|
|
# Currently used in the binary-bootstrap bootstrap-update targets.
|
2018-09-01 20:50:14 +02:00
|
|
|
XBPS_INSTALL_ARGS="--repository=https://alpha.de.repo.voidlinux.org/current --repository=https://alpha.de.repo.voidlinux.org/current/musl --repository=https://alpha.de.repo.voidlinux.org/current/aarch64"
|
2014-03-22 12:31:42 +01:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2015-03-04 15:20:57 +01:00
|
|
|
# Native Compilation/Preprocessor flags for C and C++. Additional settings
|
|
|
|
# for the target architecture are also declared in common/build-profiles/<arch>.sh.
|
2014-03-22 12:31:42 +01:00
|
|
|
#
|
2015-11-17 17:13:12 +01:00
|
|
|
XBPS_CFLAGS="-O2 -pipe"
|
2015-03-04 15:17:05 +01:00
|
|
|
XBPS_CXXFLAGS="${XBPS_CFLAGS}"
|
2014-03-22 12:31:42 +01:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2015-11-17 17:13:12 +01:00
|
|
|
# Linker flags passed to the compiler.
|
2014-03-22 12:31:42 +01:00
|
|
|
#
|
2015-11-17 17:13:12 +01:00
|
|
|
#XBPS_LDFLAGS=""
|
2014-03-22 12:31:42 +01:00
|
|
|
|
2014-04-09 16:42:07 +02:00
|
|
|
# [REQUIRED]
|
|
|
|
# Command to execute to gain root privileges when using the `update-sys`
|
|
|
|
# target to update your system.
|
|
|
|
#
|
|
|
|
XBPS_SUCMD="sudo /bin/sh -c"
|
|
|
|
|
2014-03-22 12:31:42 +01:00
|
|
|
# [OPTIONAL]
|
2014-10-26 10:22:30 +01:00
|
|
|
# Enable or disable ccache when building packages. The ccache directory
|
2018-03-09 12:42:48 +01:00
|
|
|
# is stored in the hostdir, i.e hostdir/ccache. For go builds this enables
|
|
|
|
# caching in hostdir/gocache.
|
2014-03-22 12:31:42 +01:00
|
|
|
#
|
|
|
|
#XBPS_CCACHE=yes
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
2014-10-26 10:22:30 +01:00
|
|
|
# Enable or disable distcc when building packages. The distcc directory
|
|
|
|
# is stored in the hostdir, i.e hostdir/distcc.
|
2014-03-22 12:31:42 +01:00
|
|
|
#
|
|
|
|
#XBPS_DISTCC=yes
|
|
|
|
#XBPS_DISTCC_HOSTS=""
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Number of parallel jobs to execute when building packages that
|
|
|
|
# use make(1) or alike commands.
|
|
|
|
#
|
|
|
|
#XBPS_MAKEJOBS=4
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable recording git revisions in final binary packages; enable this
|
|
|
|
# if you are sure the package you are building is available in the
|
|
|
|
# xbps-packages git repository.
|
|
|
|
#
|
|
|
|
#XBPS_USE_GIT_REVS=yes
|
|
|
|
|
2017-02-23 22:03:31 +01:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable running the (optional) do_check() function of a package.
|
|
|
|
#
|
|
|
|
#XBPS_CHECK_PKGS=yes
|
|
|
|
|
2014-03-22 12:31:42 +01:00
|
|
|
# [OPTIONAL]
|
2014-05-16 08:20:08 +02:00
|
|
|
# Enable building -dbg subpackages with debugging symbols. Please note
|
2014-03-22 12:31:42 +01:00
|
|
|
# that building with debugging symbols make take a long while in some
|
|
|
|
# packages even on computers with a fast CPU; as well as needs lots of
|
2019-02-26 23:35:20 +01:00
|
|
|
# RAM to properly build some packages.
|
2014-03-22 12:31:42 +01:00
|
|
|
#
|
|
|
|
#XBPS_DEBUG_PKGS=yes
|
2014-06-30 11:32:07 +02:00
|
|
|
|
2015-09-03 12:42:35 +02:00
|
|
|
# [OPTIONAL]
|
2019-06-24 19:57:20 +02:00
|
|
|
# Set the package compression format (defaults to xz). See xbps-create(1)
|
|
|
|
# for the available formats.
|
2015-09-03 12:42:35 +02:00
|
|
|
#
|
|
|
|
#XBPS_PKG_COMPTYPE=none
|
|
|
|
|
2019-06-25 10:52:37 +02:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Set the repository compression format (defaults to gzip/zlib). See xbps-rindex(1)
|
|
|
|
# for the available formats.
|
|
|
|
#
|
|
|
|
#XBPS_REPO_COMPTYPE=zstd
|
|
|
|
|
2014-06-30 11:32:07 +02:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable or disable global package build options, these options apply
|
2014-06-30 11:49:03 +02:00
|
|
|
# to all packages that support the matching options.
|
2014-06-30 11:32:07 +02:00
|
|
|
#
|
|
|
|
# To enable an option just define its option name; to disable an option
|
|
|
|
# prefix it with ~. Options must be delimited by commas, i.e 'opt,~opt2,opt3,~opt4'
|
|
|
|
#
|
|
|
|
#XBPS_PKG_OPTIONS=opt,~opt2,opt3,~opt4
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable or disable package build options. Note that per package build options
|
|
|
|
# override the global options defined above for the matching package.
|
|
|
|
#
|
|
|
|
#XBPS_PKG_OPTIONS_foo=opt,~opt2,opt3,~opt4
|
2015-04-09 18:57:41 +02:00
|
|
|
|
2015-07-26 10:22:35 +02:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable building package locally that are restricted legally for redistribution.
|
|
|
|
# NOTE: you can't distribute the sources or binaries for such kind of packages.
|
|
|
|
#
|
|
|
|
#XBPS_ALLOW_RESTRICTED=yes
|
|
|
|
|
2015-04-09 18:57:41 +02:00
|
|
|
# [OPTIONAL]
|
|
|
|
# Set the preferred chroot style. Available styles at common/chroot-style/*.sh:
|
|
|
|
#
|
|
|
|
# - uunshare (uses xbps-uunshare(8), user namespaces)
|
|
|
|
# - uchroot (uses xbps-uchroot(8), namespaces, setgid)
|
|
|
|
# - proot (uses proot, external, does not need special permissions)
|
2019-02-26 21:26:41 +01:00
|
|
|
# - bwrap (uses bwrap, external, does not need special permissions)
|
2019-02-26 21:23:11 +01:00
|
|
|
# - ethereal (uses root, needs no permissions, for disposable containers)
|
2015-04-09 18:57:41 +02:00
|
|
|
#
|
|
|
|
# The order is already set as shown above, but can be overriden below.
|
|
|
|
# Additional arguments to the chroot style can be passed in via XBPS_CHROOT_CMD_ARGS.
|
|
|
|
#
|
|
|
|
#XBPS_CHROOT_CMD=proot
|
|
|
|
#XBPS_CHROOT_CMD_ARGS=""
|
2016-02-19 13:45:49 +01:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2016-02-23 08:05:43 +01:00
|
|
|
# Enable to use the standard mtime of files. Otherwise it will be rewritten to
|
2018-03-09 00:36:06 +01:00
|
|
|
# the HEAD commit time.
|
2016-02-19 13:45:49 +01:00
|
|
|
#
|
2016-02-23 08:05:43 +01:00
|
|
|
#XBPS_USE_BUILD_MTIME=yes
|
2019-02-26 21:23:11 +01:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# When using the 'ethereal' chroot-style this switch must be activated, it is
|
|
|
|
# meant as safeguard against users casually destroying their systems
|
|
|
|
#
|
|
|
|
#XBPS_ALLOW_CHROOT_BREAKOUT=yes
|