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

Bug 271913

Summary: amd64 profile bashrc should include an overide for the warning of critical flags
Product: Gentoo Linux Reporter: Justin Lecher (RETIRED) <jlec>
Component: EclassesAssignee: AMD64 Project <amd64>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Justin Lecher (RETIRED) gentoo-dev 2009-05-30 22:05:06 UTC
I would like to have something like IKNOWWHATIAMDOING to supress the warning and the sleep time if I emerge things with e.g. -ffast-math. Should be easy to include a switch for that in the bashrc for the profile.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-06 22:19:37 UTC
A patch will be evaluated. ;)
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-06-07 07:04:24 UTC
--- /usr/portage/profiles/arch/amd64/profile.bashrc     2008-04-01 19:39:53.000000000 +0200
+++ /mnt/tmpfs/profile.bashrc   2009-06-07 09:03:20.186773178 +0200
@@ -64,7 +64,7 @@
        [[ " ${*:2} " == *" $1 "* ]]
 }
 
-if [[ ${EBUILD_PHASE} == "setup" ]]; then
+if [[ ${EBUILD_PHASE} == "setup" ]] && [[ -z ${DONTFILTERMYCFLAGS} ]]; then
 
        filter_invalid_flags
        
Comment 3 Pacho Ramos gentoo-dev 2010-01-03 20:14:17 UTC

*** This bug has been marked as a duplicate of bug 258467 ***