From: Kees Monshouwer Date: Mon, 23 Dec 2013 19:42:32 +0000 (+0100) Subject: fix recursor Makefile X-Git-Tag: rec-3.6.0-rc1~282^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fcefa4538797c0cdcadff5e44dc9439a64118d8;p=pdns fix recursor Makefile thanks @zeha, @habbie --- diff --git a/pdns/Makefile-recursor b/pdns/Makefile-recursor index 58fde2037..3522e60d5 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