From 34acb80a28d1b48e734883a32f7f3344dc216ec0 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 17 May 2011 15:04:56 +0100
Subject: Enable deprecation warnings on all C programs.

---
 rescue/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

(limited to 'rescue')

diff --git a/rescue/Makefile.am b/rescue/Makefile.am
index 0032a232..d3783aef 100644
--- a/rescue/Makefile.am
+++ b/rescue/Makefile.am
@@ -37,6 +37,7 @@ virt_rescue_SOURCES = \
 	virt-rescue.c
 
 virt_rescue_CFLAGS = \
+	-DGUESTFS_WARN_DEPRECATED=1 \
 	-I$(top_srcdir)/src -I$(top_builddir)/src \
 	-I$(top_srcdir)/fish \
 	-I$(srcdir)/../gnulib/lib -I../gnulib/lib \
-- 
cgit