mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-03 13:12:16 +00:00
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
|
||||
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 [ -n "$subpkgname" ]; then
|
||||
origsubpackages="$subpackages"
|
||||
|
Loading…
Reference in New Issue
Block a user