Description: Use CPPFLAGS during compilation
 This enables compilation hardening from the environment, as provided by
 dpkg-buildflags.
Author: Jean-Michel Vourgère <nirgal@debian.org>
Forwarded: https://github.com/DanielAdolfsson/ndppd/pull/8
Last-Update: 2015-10-09
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Index: ndppd/Makefile
===================================================================
--- ndppd.orig/Makefile
+++ ndppd/Makefile
@@ -34,7 +34,7 @@ ndppd: ${OBJS}
 	${CXX} -o ndppd ${LDFLAGS} ${LIBS} ${OBJS}
 
 .cc.o:
-	${CXX} -c $(CXXFLAGS) -o $@ $<
+	${CXX} -c ${CPPFLAGS} $(CXXFLAGS) -o $@ $<
 
 clean:
 	rm -f ndppd ndppd.conf.5.gz ndppd.1.gz ${OBJS}
