Created attachment 643994 [details] command used to compile kakoune source files In the attachment, the command has -O3 after the -O2 that is set in CFLAGS.
Created attachment 643996 [details] emerge --info
I saw this when I was testing for the keywording bug. Thanks for reporting it.
I saw it too, but because I didn't receive any QA notice about non-respecting CFLAGS, just figured it's only noise. However I guess the QA notice is triggered when your CFLAGS are replaced, not when something's appended to them. Should be an easy patch nevertheless for the next release/snapshot.
Created attachment 644094 [details, diff] ebuild patch to sed the makefile, found in contrib/ in the kakoune repo
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60d821c5d1cb49b5dca0e4869240dfa742b08209 commit 60d821c5d1cb49b5dca0e4869240dfa742b08209 Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-04-30 16:08:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-05-04 22:17:01 +0000 app-editors/kakoune: Respect CFLAGS, fix gcc-11 compilation Closes: https://bugs.gentoo.org/727558 Closes: https://bugs.gentoo.org/787029 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org> .../kakoune/files/kakoune-2020.01.16-gcc-11.patch | 11 +++++++++ .../kakoune/kakoune-2020.01.16_p20200601.ebuild | 28 ++++++++++++++-------- 2 files changed, 29 insertions(+), 10 deletions(-)