summaryrefslogtreecommitdiff
path: root/framework/Makefile_channel_server
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Makefile_channel_server')
-rw-r--r--framework/Makefile_channel_server8
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/Makefile_channel_server b/framework/Makefile_channel_server
index d9cc671..286be2d 100644
--- a/framework/Makefile_channel_server
+++ b/framework/Makefile_channel_server
@@ -62,7 +62,11 @@ else
endif
# Define a list of pkg-config packages we want to use
-pkg_packages = dbus-glib-1
+ifeq ($(TCS_CFG), release)
+ pkg_packages = dbus-glib-1
+else
+ pkg_packages = dbus-glib-1 dlog
+endif
PKG_CFLAGS = $(shell pkg-config --cflags $(pkg_packages))
PKG_LDFLAGS = $(shell pkg-config --libs $(pkg_packages))
@@ -71,7 +75,7 @@ PKG_LDFLAGS = $(shell pkg-config --libs $(pkg_packages))
LD_FLAGS += $(PKG_LDFLAGS)
GBS_CFLAGS = -I${SYSROOT}/usr/include/dbus-1.0 -I${SYSROOT}/usr/lib/dbus-1.0/include
-CFLAGS += $(PKCL_CFLAGS) $(TCS_CFLAGS) $(GBS_CFLAGS) $(PKG_CFLAGS)
+CFLAGS += $(PKCL_CFLAGS) $(TCS_CFLAGS) $(GBS_CFLAGS) $(PKG_CFLAGS) -Wall -Werror
SOURCES = $(SRCDIR)/IpcServer.c \
$(SRCDIR)/IpcServerError.c \