From 87f989026d607f9da806eab64e694408ee535941 Mon Sep 17 00:00:00 2001 From: nirgal Date: Fri, 9 Oct 2015 11:36:03 +0200 Subject: [PATCH] Use standard C pre-processor flags in environement This allows build environment to set standard C pre-processor "CPPFLAGS". --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2263f78..1a4e518 100644 --- a/Makefile +++ b/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}