Skip to content
Snippets Groups Projects
Commit 52943894 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: do debug builds with DEBUG=1

parent 7798ed0c
No related branches found
No related tags found
No related merge requests found
...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment