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

View File

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