https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-fps/xonotic-0.8.2 does not respect CFLAGS. Discovered on: amd64 (internal ref: tinderbox) NOTE: To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS. If this is not something about c/c++ context see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS.
Created attachment 657146 [details] build.log build log and emerge --info
I can't reproduce, it passes CFLAGS fine, even with "-frecord-gcc-switches" in all 4 flags.
(In reply to Alexey from comment #2) > I can't reproduce, it passes CFLAGS fine, even with "-frecord-gcc-switches" > in all 4 flags. if you think the check if wrong, please get in touch with portage devs.
Are you still getting the QA warning? Thing is that I can't seem to get it either (including with clang), and I know these usually work for me. Not that I tried every possible options.
(In reply to Ionen Wolkens from comment #4) > Are you still getting the QA warning? > > Thing is that I can't seem to get it either (including with clang), and I > know these usually work for me. Not that I tried every possible options. ...my impression is that this may have been an issue with the toolchain a year ago, I mentioned clang because it's what the build.log is using
I've just reproduced the QA warning with a dummy ebuild I wrote which definitely ignores CFLAGS, so the warning itself works for me. I agree that it probably was some issue with the toolchain.