From 0fcefa4538797c0cdcadff5e44dc9439a64118d8 Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Mon, 23 Dec 2013 20:42:32 +0100 Subject: [PATCH] fix recursor Makefile thanks @zeha, @habbie --- pdns/Makefile-recursor | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/Makefile-recursor b/pdns/Makefile-recursor index 58fde20374..3522e60d55 100644 --- a/pdns/Makefile-recursor +++ b/pdns/Makefile-recursor @@ -4,8 +4,8 @@ BINDIR=/usr/bin/ SYSCONFDIR=/etc/powerdns/ LOCALSTATEDIR=/var/run/ OPTFLAGS?=-O3 -CXXFLAGS:= $(CXXFLAGS) -Iext/rapidjson/include -Iext/polarssl-1.3.2/include/polarssl -Wall $(OPTFLAGS) $(PROFILEFLAGS) $(ARCHFLAGS) -pthread -CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) $(ARCHFLAGS) -pthread +CXXFLAGS:= $(CXXFLAGS) -Iext/rapidjson/include -I$(CURDIR)/ext/polarssl-1.3.2/include -Wall $(OPTFLAGS) $(PROFILEFLAGS) $(ARCHFLAGS) -pthread +CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) $(ARCHFLAGS) -I$(CURDIR)/ext/polarssl-1.3.2/include -pthread LDFLAGS:=$(LDFLAGS) $(ARCHFLAGS) -pthread LINKCC=$(CXX) @@ -105,10 +105,10 @@ clean: binclean -rm -f dep *~ *.gcda *.gcno optional/*.gcda optional/*.gcno binclean: - -rm -f *.o pdns_recursor rec_control optional/*.o build-stamp + -rm -f *.o pdns_recursor rec_control optional/*.o build-stamp ext/polarssl-1.3.2/library/*.o dep: - $(CXX) $(CXXFLAGS) -MM -MG *.cc *.c *.hh > $@ + $(CXX) $(CXXFLAGS) -MM -MG *.cc *.hh > $@ -include dep -- 2.47.2