common/xbps-src: remove force_debug_pkgs variable
This commit is contained in:
parent
71ecddf2fb
commit
c7f2f9840f
|
@ -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"`.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue