--with-debug is a bad configure option since everything is stripped in
%install This can also cause a lot of warning messages because it causes
-g to be specified which is incompatible with -fomit-frame-pointer
--with-profile is a bad configure option since there is no debug symbols
(again, they are stripped in %install) and profiling is incompatible with
They aren't needed on any architecture. They cause problems when using
-fomit-frame-pointer in %optflags. Please get rid of them.
Actually that has been done for quite some time.
It was the first thing I did when I took over the ncurses package. ;)