Commit 52943894 authored by Natanael Copa's avatar Natanael Copa

abuild: do debug builds with DEBUG=1

parent 7798ed0c
...@@ -1424,6 +1424,12 @@ if [ -n "$REPODEST" ]; then ...@@ -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"
......
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