$ export CFLAGS="-O3 -march=pentium4 -mmmx -mfpmath=sse -msse2 -fomit-frame-pointer -funroll-loops -pipe" $ export CXXFLAGS="$CFLAGS" $ rpmbuild --rebuild --clean --target=i686 evolution-2.2.3-2.fc4.src.rpm --nodeps And i get this: ... + CPPFLAGS=-I/usr/include/et + export CPPFLAGS + CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables -fPIC -I/usr/include/et' + export CFLAGS + autoreconf -i aclocal:configure.in:92: warning: macro `AM_DISABLE_STATIC' not found in library aclocal:configure.in:93: warning: macro `AM_PROG_LIBTOOL' not found in library aclocal:configure.in:1071: warning: macro `AM_PATH_ORBIT2' not found in library aclocal:configure.in:1449: warning: macro `AM_GCONF_SOURCE_2' not found in library configure.in:63: warning: AC_ARG_PROGRAM invoked multiple times configure.in:63: warning: AC_ARG_PROGRAM invoked multiple times configure.in:63: warning: AC_ARG_PROGRAM invoked multiple times configure.in:92: error: possibly undefined macro: AM_DISABLE_STATIC If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:93: error: possibly undefined macro: AM_PROG_LIBTOOL configure.in:1071: error: possibly undefined macro: AM_PATH_ORBIT2 configure.in:1451: error: possibly undefined macro: AM_GCONF_SOURCE_2 autoreconf: /usr/bin/autoconf failed with exit status: 1 error: Bad exit status from /var/tmp/rpm-tmp.44693 (%build) How to make it? -- Best regards, Strong.