abuild: do debug builds with DEBUG=1
This commit is contained in:
parent
7798ed0c5a
commit
529438949e
|
@ -1424,6 +1424,12 @@ if [ -n "$REPODEST" ]; then
|
||||||
export REPODEST
|
export REPODEST
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# if we want build debug package
|
||||||
|
if [ -n "$DEBUG" ]; then
|
||||||
|
CFLAGS="$CFLAGS -g"
|
||||||
|
options="$options !strip"
|
||||||
|
fi
|
||||||
|
|
||||||
# If we are handling a sub package then reset subpackages and install
|
# If we are handling a sub package then reset subpackages and install
|
||||||
if [ -n "$subpkgname" ]; then
|
if [ -n "$subpkgname" ]; then
|
||||||
origsubpackages="$subpackages"
|
origsubpackages="$subpackages"
|
||||||
|
|
Loading…
Reference in New Issue