Merge pull request #2998 from Gottox/no-force_debug_pkgs

common/xbps-src: remove force_debug_pkgs variable
This commit is contained in:
Juan RP 2015-11-17 16:54:10 +01:00
commit 917024dd19
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"