From 971af8c863a34901e83c1888f3c78f7de7662add Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Nov 26 2009 14:07:44 +0000 Subject: Add -DBIND9 to CFLAGS to fix compilation against new bind. --- diff --git a/dnsperf.spec b/dnsperf.spec index f87440e..ae9eb71 100644 --- a/dnsperf.spec +++ b/dnsperf.spec @@ -20,7 +20,8 @@ For more information, see the dnsperf(1) and resperf(1) man pages. %configure %build -%{__make} CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} +# NOTE: -DBIND9 should be in CPPFLAGS but Makefile.in is badly written +%{__make} CFLAGS="$RPM_OPT_FLAGS -DBIND9" %{?_smp_mflags} %install rm -rf %{buildroot}