Try to fix build.

This commit is contained in:
Kevin Kofler 2008-05-29 20:38:02 +00:00
parent 16a197ad50
commit 803c91323f
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ export CFLAGS="$RPM_OPT_FLAGS -mno-sum-in-toc"
export CXXFLAGS="$RPM_OPT_FLAGS -mno-sum-in-toc"
%endif
%endif
# don't reference m4 include directory which isn't shipped in the tarball
# there's also a typo ("autconf" instead of "autoconf")
sed -i -e 's/ACLOCAL_AMFLAGS=/#ACLOCAL_AMFLAGS=/g' Makefile.am
autoreconf --force --install
%configure --enable-shared=yes --enable-static=no --enable-maintainer-mode
%{__make} %{?_smp_mflags}