summaryrefslogtreecommitdiff
path: root/src/devices/tests
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-04-05 21:18:43 +0200
committerLubomir Rintel <lkundrak@v3.sk>2016-04-05 22:22:58 +0200
commit9152dec99f479d82400f464ab47d45b8cbd8e0eb (patch)
treeb5d135bd5302fbb2757c3b0bf1052a7156b8115c /src/devices/tests
parent29cfb144a8cdfce697c63175b1bfa36e0d95a6ad (diff)
build: disable deprecation checks for internal compilation
For internal compilation we want to be able to use deprecated API without warnings. Define the version min/max macros to effectively disable deprecation warnings. However, don't do it via CFLAGS option in the makefiles, instead hack it to "nm-default.h". After all, *every* source file that is for internal compilation needs to include this header as first.
Diffstat (limited to 'src/devices/tests')
-rw-r--r--src/devices/tests/Makefile.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/tests/Makefile.am b/src/devices/tests/Makefile.am
index e4f4d3fe6..cd1ef6edd 100644
--- a/src/devices/tests/Makefile.am
+++ b/src/devices/tests/Makefile.am
@@ -12,7 +12,6 @@ AM_CPPFLAGS = \
-I$(top_builddir)/src \
-DG_LOG_DOMAIN=\""NetworkManager"\" \
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
- -DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
$(GLIB_CFLAGS)
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)