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