Add support for handling the $RPM_OPT_FLAGS 

This PR adds support for handling the $RPM_OPT_FLAGS variable to set up the compilation arguments. This flag is used on RPM-based operating systems like Fedora or openSUSE to provide the most effective flags for selected architecture.