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

@ -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"