Description of problem: When using re2 , projects are polluted by a -std=c++11 compile flags that is pushed by pkg-config. The problem has been fixed on the upstream and in Fedora. See : Bug 2171864 - re2 is polluting C++ compiler flags with -std=c++11 Version-Release number of selected component (if applicable): re2-20211101-2.el9.x86_64 How reproducible: Run command : pkg-config --cflags re2 It shouldn't return "-std=c++11" Steps to Reproduce: 1. Run command : pkg-config --cflags re2 2. Check if output contains -std=c++11 , it shouldn't Actual results: $ pkg-config --cflags re2 -pthread -std=c++11 Expected results: $ pkg-config --cflags re2 -pthread Additional info:
Thanks for reporting that issue! Do not hesitate to submit a pull request (https://src.fedoraproject.org/rpms/re2), as I do not have much time to investigate that issue.
The previous patch applies and complied with no problems. Here is the pull request. https://src.fedoraproject.org/rpms/re2/pull-request/5
FEDORA-EPEL-2023-df39a25131 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-df39a25131
FEDORA-EPEL-2023-df39a25131 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-df39a25131 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2023-df39a25131 has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.