Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830534

Summary: flag-o-matic.eclass: please allow -fno-diagnostics-color and -fmessage-length=0
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2022-01-03 16:13:16 UTC
I noticed in the build log that flag-o-matic strips the following:

-fno-diagnostics-color -fmessage-length=0

I think they are safe and can be allowed.
Thanks
Comment 1 Larry the Git Cow gentoo-dev 2022-01-22 22:19:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50f429f0e0d8d81577b24c04061b5af01d350f9d

commit 50f429f0e0d8d81577b24c04061b5af01d350f9d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-18 16:35:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-22 22:18:51 +0000

    flag-o-matic.eclass: allow -fno-diagnostics-color -fmessage-length=0
    
    Both of these options are useful for automated reports and should
    be harmless.
    
    Closes: https://bugs.gentoo.org/830534
    Reported-by: Agostino Sarubbo <ago@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/flag-o-matic.eclass | 2 ++
 1 file changed, 2 insertions(+)