Author: Francois Marier <francois@debian.org>
Forwarded: no
Last-Update: 2013-05-19
Description: Add Debian CPPFLAGS to the Makefie

diff --git a/Makefile b/Makefile
index dfda53f..dcf6291 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@ CC    := $(CROSS_COMPILE)gcc
 STRIP := $(CROSS_COMPILE)strip
 
 CFLAGS += -Wall -O2 -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+CFLAGS += `dpkg-buildflags --get CPPFLAGS`
 LDFLAGS += -lpthread
 SHARED = -shared -Wl,-soname,libhdhomerun$(LIBEXT)
 
