summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-01-18 14:57:00 +0100
committerMarcel Holtmann <marcel@holtmann.org>2011-01-18 14:57:00 +0100
commitab9c067095c890aa988f6e9d131c49e49cf62ea5 (patch)
tree435826f53ef33a6c71ae19945c9cbb6bca826789 /acinclude.m4
parent1842a6852b7c1b486bbfe8e864d6a1749666bdc4 (diff)
downloadconnman-ab9c067095c890aa988f6e9d131c49e49cf62ea5.tar.gz
connman-ab9c067095c890aa988f6e9d131c49e49cf62ea5.tar.bz2
connman-ab9c067095c890aa988f6e9d131c49e49cf62ea5.zip
Use -DG_DISABLE_DEPRECATED compiler define
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 84086fde..0a59871d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -22,6 +22,7 @@ AC_DEFUN([COMPILER_FLAGS], [
CFLAGS+=" -Wmissing-declarations"
CFLAGS+=" -Wredundant-decls"
CFLAGS+=" -Wcast-align"
+ CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED"
fi
])