From 81cfaf759b18fd680dc899b222c5877583538b68 Mon Sep 17 00:00:00 2001 From: Bert Hubert Date: Mon, 19 Jul 2010 14:21:02 +0000 Subject: [PATCH] teach Recursor about 'ARCHFLAGS' for -m64 and make sure 'speedtest' compiles again with DNSSEC stuff in there git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1671 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/Makefile-recursor | 6 +++--- pdns/Makefile.am | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pdns/Makefile-recursor b/pdns/Makefile-recursor index e475aec6f..dc8fa8f5b 100644 --- a/pdns/Makefile-recursor +++ b/pdns/Makefile-recursor @@ -3,9 +3,9 @@ SBINDIR=/usr/sbin/ BINDIR=/usr/bin/ CONFIGDIR="/etc/powerdns/" OPTFLAGS?=-O3 -CXXFLAGS:= $(CXXFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) -pthread -CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) -pthread -LDFLAGS:=$(LDFLAGS) -pthread +CXXFLAGS:= $(CXXFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) $(ARCHFLAGS) -pthread +CFLAGS:=$(CFLAGS) -Wall $(OPTFLAGS) $(PROFILEFLAGS) $(ARCHFLAGS) -pthread +LDFLAGS:=$(LDFLAGS) $(ARCHFLAGS) -pthread LINKCC=$(CXX) CC?=gcc diff --git a/pdns/Makefile.am b/pdns/Makefile.am index a9d64dbf5..5640b415c 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -81,7 +81,7 @@ tsig_tests_SOURCES=tsig-tests.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords. speedtest_SOURCES=speedtest.cc dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh \ misc.cc misc.hh rcpgenerator.cc rcpgenerator.hh base64.cc base64.hh unix_utility.cc \ - qtype.cc sillyrecords.cc logger.cc statbag.cc + qtype.cc sillyrecords.cc logger.cc statbag.cc nsecrecords.cc base32.cc dnswasher_SOURCES=dnswasher.cc misc.cc unix_utility.cc qtype.cc \ logger.cc statbag.cc dnspcap.cc dnspcap.hh dnsparser.hh -- 2.49.0