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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1170%2Fhead;p=thirdparty%2Fpdns.git fix recursor Makefile thanks @zeha, @habbie --- 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