summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bogofilter.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/bogofilter.spec b/bogofilter.spec
index d975cff..83e4615 100644
--- a/bogofilter.spec
+++ b/bogofilter.spec
@@ -41,7 +41,7 @@ iconv -f iso-8859-1 -t utf-8 \
doc/bogofilter-faq-fr.html
%build
-%configure --disable-rpath --with-libdb-prefix=%{_includedir}/libdb4
+CFLAGS="%{optflags} -I%{_includedir}/libdb4" LDFLAGS="-L%{_libdir}/libdb4" %configure --disable-rpath
%{__make} %{?_smp_mflags}
%install