Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911385 - sys-boot/gnu-efi[custom-cflags] not respecting user flags
Summary: sys-boot/gnu-efi[custom-cflags] not respecting user flags
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-28 09:28 UTC by unhappy-ending
Modified: 2023-07-30 02:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log showing no respect to flags (gnu-efi-no-respect.log,133.71 KB, text/x-log)
2023-07-28 09:30 UTC, unhappy-ending
Details
emerge --info (gnu-efi-info.txt,8.03 KB, text/plain)
2023-07-28 09:30 UTC, unhappy-ending
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unhappy-ending 2023-07-28 09:28:06 UTC
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
Comment 1 unhappy-ending 2023-07-28 09:30:12 UTC
Created attachment 866508 [details]
build log showing no respect to flags
Comment 2 unhappy-ending 2023-07-28 09:30:41 UTC
Created attachment 866509 [details]
emerge --info
Comment 3 unhappy-ending 2023-07-28 09:33:48 UTC
P.S. This is a clang/llvm toolchain built system.
Comment 4 Mike Gilbert gentoo-dev 2023-07-30 02:34:13 UTC
The upstream build system appends to CFLAGS. You are welcome to take the matter up with them.