As the summary states, even with USE=custom-cflags sys-boot/gnu-efi is not respecting CFLAGS. Reproducible: Always Steps to Reproduce: 1. Set -O3 for example 2. Compile 3. See -O2 after -O3 in build logs Actual Results: Build not respecting user set flags Expected Results: Respecting user set flags
Created attachment 866508 [details] build log showing no respect to flags
Created attachment 866509 [details] emerge --info
P.S. This is a clang/llvm toolchain built system.
The upstream build system appends to CFLAGS. You are welcome to take the matter up with them.