Commit 9605ce17 authored by Carlo Landmeter's avatar Carlo Landmeter

abuild: add config option to globally enable dbg

parent 610bf6c2
......@@ -2326,6 +2326,11 @@ fi
# for recursive action
export REPODEST SRCDEST
# add dbg subpackage if its enabled globally
if [ -n "$DEFAULT_DBG" ] && ! subpackage_types_has "dbg" && ! options_has "!dbg" && [ "$arch" != "noarch" ]; then
subpackages="$pkgname-dbg $subpackages"
fi
# if we want build debug package
if [ -n "$DEBUG" ] || subpackage_types_has "dbg"; then
CFLAGS="$CFLAGS -g"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment