summaryrefslogtreecommitdiff
path: root/common.am
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2011-10-22 08:43:49 +0200
committerJens Georg <mail@jensge.org>2011-10-22 08:45:24 +0200
commit62fb785d316afcbfe02a2a75918e282971acaaad (patch)
tree1c1e72d2ff9f773858ff23c7c5080c12adb14582 /common.am
parent0166d09f06706589a2107c8e9cbe1bcd03b8715c (diff)
downloadrygel-62fb785d316afcbfe02a2a75918e282971acaaad.tar.gz
build: Only pass -g when debugging is enabled
Diffstat (limited to 'common.am')
-rw-r--r--common.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.am b/common.am
index 8d114eb5..7f99e9e5 100644
--- a/common.am
+++ b/common.am
@@ -47,7 +47,8 @@ RYGEL_COMMON_PLUGIN_VALAFLAGS = \
RYGEL_COMMON_VALAFLAGS = \
--pkg rygel-build-config --pkg gupnp-1.0 \
--vapidir=$(rygeldir) \
- --pkg gupnp-av-1.0 --pkg gee-1.0 -g
+ --pkg gupnp-av-1.0 --pkg gee-1.0 \
+ $(RYGEL_DEBUG_VALAFLAGS)
RYGEL_PLUGIN_LINKER_FLAGS = -shared -fPIC -module -avoid-version