# Build system path macros.
#
%__libtoolize libtoolize --copy --force
-%__automake automake -a -c -f --foreing
+%__gettextize gettextize --copy --force
+%__automake automake -a -c -f --foreign
%__autoconf autoconf %{?debug:-Wall}
#-----------------------------------------------------------------
CFLAGS="${CFLAGS:-%rpmcflags}" \
CXXFLAGS="${CXXFLAGS:-%rpmcflags}" \
FFLAGS="${FFLAGS:-%rpmcflags}" \
- CPPFLAGS="${CPPFLAGS:-%rpmcflags}" \
+ CPPFLAGS="${CPPFLAGS:-}" \
%{?__cc:CC=%{__cc}} \
%{?__cxx:CXX=%{__cxx}} \
--build=%{_target_platform} \