diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-18 06:19:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-18 06:19:18 +0000 |
commit | 529438949e2eda0fd98a0aa396c33098f0a2754e (patch) | |
tree | 916fa81e89fc07a116f447ac0453dab587708796 /abuild.in | |
parent | 7798ed0c5ad69a12c76c1778b8c9219e1117cf5b (diff) | |
download | abuild-529438949e2eda0fd98a0aa396c33098f0a2754e.tar.gz abuild-529438949e2eda0fd98a0aa396c33098f0a2754e.tar.bz2 abuild-529438949e2eda0fd98a0aa396c33098f0a2754e.tar.xz abuild-529438949e2eda0fd98a0aa396c33098f0a2754e.zip |
abuild: do debug builds with DEBUG=1
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" |