FYI: I have already opened a pull request to enhance redhat-rpm-config to allow packages to build with clang instead of gcc if they so wish:
https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/82
The `%define with_cc_clang 1` approach in the PR looks better than the flag-based approach. Thanks for work!
keep in mind https://docs.fedoraproject.org/en-US/packaging-guidelines/#compiler
We might also need to add the note about %{build_cflags}, %{build_cxxflags} and etc in the guidelines that are written in https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflag... .
Cheers, Jun