Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60891 - C*FLAGS for individual packages
Summary: C*FLAGS for individual packages
Status: RESOLVED DUPLICATE of bug 44796
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
Depends on:
Reported: 2004-08-19 07:11 UTC by Marcin Kryczek (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kryczek (RETIRED) gentoo-dev 2004-08-19 07:11:02 UTC
i would like to have possibility to declare diffrent CFLAGS and CXXFLAGS for indyvidual packages. the goal of it is to have some base system, which can be executed on different processors (both - intel and amd), and have rest of programs optimized for my cpu. it could be done by additional file in /etc/portage/.
what do you think about it? is there any chance to add such functionality to portage?
Comment 1 Philip P 2004-08-19 07:21:53 UTC
I like that idea. 

Considering certain packages which dont run too well with, say, -O3 but others go better with that (or something very different). 

When emerging a world upgrade, I have to take care for every package or all of a sudden everything is fucked up :/ - especially bad for packages which are dependencies of other to update but have/need a different CFLAGS mojo.
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-19 11:50:32 UTC
must you use language like that, Phillip?
Comment 3 SpanKY gentoo-dev 2004-08-19 20:53:50 UTC

*** This bug has been marked as a duplicate of 44796 ***
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2004-08-20 04:47:58 UTC
are you sure with marking it as duplicate of 44796? that bug was generaly about enviromnent variable (well - CFLAGS was mention too, but it wasn't main part) and answer for that bug is surely /etc/portage/ (thus that bug is marked as WONT FIX). here i wanted some new functionality, which can be, but it's not done by files in that directory. bug 44796 isn't enought answer for me...
Comment 5 SpanKY gentoo-dev 2004-08-20 17:27:49 UTC
Bug 44796 is a much better general solution ... adding another file just for a specific env variable is wrong

if you disagree with the WONTFIX then take it to Bug 44796 ... it doesnt change the fact that this is a dupe

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