BibTool does not honor $RPM_OPT_FLAGS, resulting in no-no such as no compiler generated security features and more or less useless debuginfo. The included configure script fails to affect the optflags used during compilation. Patch attached, however this seems to cause build failures in regex-0.12/regex.c, suggesting that there's some more work to be done. glibc contains a regex library which looks similar to this (see /usr/include/regex.h), perhaps it should be used instead of the bundled copy?
Created attachment 146800 [details] Honor optflags
It should be fixed in 2.48-6, with system regex used. There are tons of warnings, I am not willing to fix them. I didn't used the system regex because of a comment in makefile, but I hope it will be right anyway. regex-0.12 is very outdated. Because it may break with the system regex, I only update in devel. Thanks for the report.