https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-cpp/dpp-10.0.22 overwrites CFLAGS/CXXFLAGS or adds uncommon ones. Discovered on: amd64 (internal ref: guru_ci) NOTE: This QA check is tinderbox-only, there is the list of the flags that should be dropped out, if you think it is a false positive please let me know..
Created attachment 847760 [details] build.log build log and emerge --info
Upstream sets the flags manually in library/CMakeLists.txt. We should probably try to make this optional upstream or patch the CMakeLists.txt to get rid of the manually set flags. CMake should normally set those flags on an as-needed basis anyway depending on the selected build target.
Upstream merged the PR. I assume that a release might follow soon. Otherwise we should be able to backport the PR to the current versions.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b0efeeaeb01626ba215b0613ee05f733196860f commit 3b0efeeaeb01626ba215b0613ee05f733196860f Author: Adrian Schollmeyer <nex+b-g-o@nexadn.de> AuthorDate: 2023-02-17 17:01:01 +0000 Commit: Adrian Schollmeyer <nex+b-g-o@nexadn.de> CommitDate: 2023-02-17 17:01:01 +0000 dev-cpp/dpp: backport upstream PR #596 build system rework This rework finally gives back control over optimization flags and the like to CXXFLAGS/LDFLAGS instead of overwriting it in the ebuild. This might be relevant for systems where certain optimization flags are needed for performance reasons. Closes: https://bugs.gentoo.org/890014 Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de> dev-cpp/dpp/Manifest | 1 + dev-cpp/dpp/dpp-10.0.21.ebuild | 3 + dev-cpp/dpp/dpp-10.0.22.ebuild | 6 + .../dpp-rework-compiler-flag-setting-890014.patch | 147 +++++++++++++++++++++ 4 files changed, 157 insertions(+)