fix setting of flags for building tests

This commit is contained in:
David Tardon 2013-09-04 12:38:11 +02:00
parent f0b4a4d730
commit ad030ad348

View File

@ -36,7 +36,7 @@ Headers for %{name}.
%prep %prep
%setup -q -n %{name}_%{version} %setup -q -n %{name}_%{version}
# this is only used in tests # this is only used in tests
sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{optflags} -std/' Makefile.in sed -i -e '/^CPPFLAGS_NODEBUG=/s/=.*/="%{optflags}"/' configure
%build %build
%configure %configure