summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 8029647..439b4f5 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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"