fix setting of flags for building tests

f41
David Tardon 11 years ago
parent f0b4a4d730
commit ad030ad348

@ -36,7 +36,7 @@ Headers for %{name}.
%prep
%setup -q -n %{name}_%{version}
# 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
%configure

Loading…
Cancel
Save