[json-glib] build: Move compiler flags to AM_CFLAGS
- From: Emmanuele Bassi <ebassi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [json-glib] build: Move compiler flags to AM_CFLAGS
- Date: Sat, 2 Jan 2010 23:58:38 +0000 (UTC)
commit cdffa0eacb52479e04460d8436a08ccecce91edf
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Sat Jan 2 23:57:31 2010 +0000
build: Move compiler flags to AM_CFLAGS
The AM_CPPFLAGS variable is for pre-processor flags.
tests/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b862551..d59e97a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -6,7 +6,9 @@ NULL =
noinst_PROGRAMS = $(TEST_PROGS)
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/json-glib
-AM_CPPFLAGS = -DJSON_DISABLE_DEPRECATED $(JSON_DEBUG_CFLAGS) $(JSON_CFLAGS) $(MAINTAINER_CFLAGS)
+AM_CPPFLAGS = -DJSON_DISABLE_DEPRECATED $(JSON_DEBUG_CFLAGS)
+AM_CFLAGS = $(JSON_CFLAGS) $(MAINTAINER_CFLAGS)
+
progs_ldadd = $(top_builddir)/json-glib/libjson-glib-1.0.la $(JSON_LIBS)
TESTS_ENVIRONMENT = srcdir=$(srcdir)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]