abuild: set -g in DFLAGS too for -dbg subpackages

This is required for proper debug info for D packages
This commit is contained in:
Rasmus Thomsen 2020-05-03 13:57:32 +02:00
parent 19678c5434
commit 79cc553d3b
1 changed files with 1 additions and 0 deletions

View File

@ -2695,6 +2695,7 @@ fi
if [ -n "$DEBUG" ] || subpackage_types_has "dbg"; then
CFLAGS="$CFLAGS -g"
CXXFLAGS="$CXXFLAGS -g"
DFLAGS="$DFLAGS -g"
options="$options !strip"
fi