xbps-src: respect XBPS_DEBUG_PKGS for bootstrap pkgs too.

This commit is contained in:
Juan RP 2014-11-05 17:29:28 +01:00
parent a6432a664e
commit 457fd7aefb
2 changed files with 4 additions and 5 deletions

View file

@ -319,8 +319,7 @@ setup_pkg() {
makejobs="-j$XBPS_MAKEJOBS"
fi
# For nonfree/bootstrap pkgs there's no point in building -dbg pkgs, disable them.
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" -o -n "$bootstrap" ]; then
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" ]; then
disable_debug=yes
fi
# If a package sets force_debug_pkgs, always build -dbg pkgs.