2014-03-22 11:31:42 +00: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]
|
|
|
|
# Enable optional arguments to xbps-install. This is useful when you use
|
|
|
|
# static binaries and when you need to specify arguments.
|
|
|
|
# NOTE: This is only used with the binary-bootstrap target!
|
2014-04-01 09:29:21 +00:00
|
|
|
XBPS_INSTALL_ARGS="--repository=http://repo.voidlinux.eu/current"
|
2014-03-22 11:31:42 +00:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
2015-03-04 14:20:57 +00: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 11:31:42 +00:00
|
|
|
#
|
2015-03-12 10:26:51 +00:00
|
|
|
XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2"
|
2015-03-04 14:17:05 +00:00
|
|
|
XBPS_CXXFLAGS="${XBPS_CFLAGS}"
|
2014-03-22 11:31:42 +00:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Linker flags passed to the compiler. By default we use --as-needed to
|
|
|
|
# avoid linking extra libraries into binaries. See the following link
|
|
|
|
# for info: http://www.gentoo.org/proj/en/qa/asneeded.xml
|
|
|
|
#
|
2015-03-08 18:54:32 +00:00
|
|
|
XBPS_LDFLAGS="-Wl,--as-needed -Wl,-z,relro"
|
2014-03-22 11:31:42 +00:00
|
|
|
|
2014-04-09 14:42:07 +00: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 11:31:42 +00:00
|
|
|
# [OPTIONAL]
|
2014-10-26 09:22:30 +00:00
|
|
|
# Enable or disable ccache when building packages. The ccache directory
|
|
|
|
# is stored in the hostdir, i.e hostdir/ccache.
|
2014-03-22 11:31:42 +00:00
|
|
|
#
|
|
|
|
#XBPS_CCACHE=yes
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
2014-10-26 09:22:30 +00:00
|
|
|
# Enable or disable distcc when building packages. The distcc directory
|
|
|
|
# is stored in the hostdir, i.e hostdir/distcc.
|
2014-03-22 11:31:42 +00: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
|
|
|
|
|
|
|
|
# [OPTIONAL]
|
2014-05-16 06:20:08 +00:00
|
|
|
# Enable building -dbg subpackages with debugging symbols. Please note
|
2014-03-22 11:31:42 +00: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
|
|
|
|
# RAM to build properly some packages.
|
|
|
|
#
|
|
|
|
#XBPS_DEBUG_PKGS=yes
|
2014-06-30 09:32:07 +00:00
|
|
|
|
|
|
|
# [OPTIONAL]
|
|
|
|
# Enable or disable global package build options, these options apply
|
2014-06-30 09:49:03 +00:00
|
|
|
# to all packages that support the matching options.
|
2014-06-30 09:32:07 +00: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 16:57:41 +00: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)
|
2015-04-10 07:39:48 +00:00
|
|
|
# - unshare (unshare(1) from util-linux, user namespaces)
|
2015-04-09 16:57:41 +00:00
|
|
|
# - proot (uses proot, external, does not need special permissions)
|
|
|
|
#
|
|
|
|
# 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=""
|