diff --git a/mdds.spec b/mdds.spec index 89c8cfb..c36584b 100644 --- a/mdds.spec +++ b/mdds.spec @@ -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