[tracker/tracker-0.8] tracker-extract: avoid warnings when compiling C++ code with C-only warning flags
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.8] tracker-extract: avoid warnings when compiling C++ code with C-only warning flags
- Date: Fri, 16 Jul 2010 10:14:23 +0000 (UTC)
commit 6a1ef6f49ea12abb226672bb2c1e16e59665fd8b
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Jul 8 18:09:09 2010 +0200
tracker-extract: avoid warnings when compiling C++ code with C-only warning flags
src/tracker-extract/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-extract/Makefile.am b/src/tracker-extract/Makefile.am
index 9065e22..b66d614 100644
--- a/src/tracker-extract/Makefile.am
+++ b/src/tracker-extract/Makefile.am
@@ -3,6 +3,9 @@ include $(top_srcdir)/Makefile.decl
module_flags = -module -avoid-version -no-undefined
modulesdir = $(libdir)/tracker-$(TRACKER_API_VERSION)/extract-modules
+AM_CFLAGS = $(WARN_CFLAGS)
+AM_CXXFLAGS = $(WARN_CXXFLAGS)
+
INCLUDES = \
-DLOCALEDIR=\""$(localedir)"\" \
-DTRACKER_EXTRACTORS_DIR=\"$(modulesdir)\" \
@@ -11,7 +14,6 @@ INCLUDES = \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_builddir)/src/libtracker-client \
- $(WARN_CFLAGS) \
$(GLIB2_CFLAGS) \
$(GCOV_CFLAGS) \
$(GDKPIXBUF_CFLAGS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]