common/xbps-src: remove force_debug_pkgs variable

This commit is contained in:
Enno Boland 2015-11-17 15:36:51 +01:00
parent 71ecddf2fb
commit c7f2f9840f
3 changed files with 1 additions and 9 deletions

View File

@ -449,10 +449,6 @@ Example `skip_extraction="foo-${version}.tar.gz"`.
- `nodebug` If enabled -dbg packages won't be generated even if `XBPS_DEBUG_PKGS` is set.
- `force_debug_pkgs` If enabled binary packages with debugging symbols will be generated
even if `XBPS_DEBUG_PKGS` is disabled in `void-packages/etc/conf` or in the
`command line arguments`.
- `conf_files` A list of configuration files the binary package owns; this expects full
paths, and multiple entries can be separated by blanks, i.e:
`conf_files="/etc/foo.conf /etc/foo2.conf"`.

View File

@ -16,7 +16,7 @@ unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF
unset -v skip_extraction
# hooks/post-install/03-strip-and-debug-pkgs
unset -v nodebug force_debug_pkgs
unset -v nodebug
## FUNCTIONS
unset -f pre_fetch do_fetch post_fetch

View File

@ -362,10 +362,6 @@ setup_pkg() {
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" ]; then
nodebug=yes
fi
# If a package sets force_debug_pkgs, always build -dbg pkgs.
if [ -n "$force_debug_pkgs" ]; then
unset nodebug
fi
# -g is required to build -dbg packages.
if [ -z "$nodebug" ]; then
dbgflags="-g"