Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87080 - SUGGESTION: Please filter out all CFLAGS and CXXGLAGS from vanilla sources (for example, kdelibs)
Summary: SUGGESTION: Please filter out all CFLAGS and CXXGLAGS from vanilla sources (f...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 01:18 UTC by Selecter
Modified: 2005-05-30 07:46 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 Selecter 2005-03-29 01:18:49 UTC
I wanted to compile kdelibs with CXXFLAGS="-O1 -march=pentium4 -fvisibility=hidden -fvisibility-inlines-hidden -freorder-blocks -fomit-frame-pointer -frename-registers -falign-loops -fregmove -fcse-follow-jumps -falign-functions", but during compilation process I've noticed that -O2 has been added:

-O2 -O1 -march=pentium4 -fvisibility=hidden -fvisibility-inlines-hidden -freorder-blocks -fomit-frame-pointer -frename-registers -falign-loops -fregmove -fcse-follow-jumps -falign-functions

Please, filter out that crap - patch Makefiles. Also qt package filtered my flags: "-O1 -freorder-blocks" :((((

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2005-03-29 05:59:09 UTC
The compiler will only use the latter of the two -O statements, so your -O1 is getting picked up just fine.

Otherwise, please provide the patches.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-30 07:46:24 UTC
eh?