diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-06-16 09:40:43 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-06-27 08:06:45 +0200 |
commit | 9605ce179269947772668320851377fa3e15ddc6 (patch) | |
tree | 5aa07936adfd229de75d59456f32b567b6384b16 | |
parent | 610bf6c281abd285d79457b00185e17f202718d6 (diff) | |
download | abuild-9605ce179269947772668320851377fa3e15ddc6.tar.gz abuild-9605ce179269947772668320851377fa3e15ddc6.tar.bz2 abuild-9605ce179269947772668320851377fa3e15ddc6.tar.xz abuild-9605ce179269947772668320851377fa3e15ddc6.zip |
abuild: add config option to globally enable dbg
-rw-r--r-- | abuild.in | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2326,6 +2326,11 @@ fi # for recursive action export REPODEST SRCDEST +# add dbg subpackage if its enabled globally +if [ -n "$DEFAULT_DBG" ] && ! subpackage_types_has "dbg" && ! options_has "!dbg" && [ "$arch" != "noarch" ]; then + subpackages="$pkgname-dbg $subpackages" +fi + # if we want build debug package if [ -n "$DEBUG" ] || subpackage_types_has "dbg"; then CFLAGS="$CFLAGS -g" |