Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271913 - amd64 profile bashrc should include an overide for the warning of critical flags
Summary: amd64 profile bashrc should include an overide for the warning of critical flags
Status: RESOLVED DUPLICATE of bug 258467
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-30 22:05 UTC by Justin Lecher (RETIRED)
Modified: 2010-01-03 20:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***