Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage feature suggestion:package.cflags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 634

PostPosted: Mon Jul 11, 2005 10:31 am    Post subject: Portage feature suggestion:package.cflags Reply with quote

Hi all,

first, sorry if this has come up before. The search engine seems to filter every keyword I can think of in this topic...:roll:

Second, I would have preferred to make this a poll, but I don't seem to have the permissions in this forum.

My idea is: How about adding a portage feature, that sources an /etc/portage/package.cflags for per package specific c compiler flags, the same way that package.use works?

I run an ~x86 system, and I very rarely have any trouble at all with it, largely thanks to my conservative cflags and other optimizations. However, I find I use a very small number of applications regularly, many of which are x86 and could take and benefit from rather more aggressive optimizations, like my browser for instance. And, say what you will, but some programs are a better experience to use with certain optimizations made.
From my own experience, I would say the most common reason for Gentoo systems breaking is people including insane flags in their toolchain, where they do not necessarily contribute to speeding up the most used applications.
A 'package.cflags' or similar feature would allow people to experiment with applications that do not break other packages; this gives us anti ricers more ammo and reduces ricer bug reports while still letting people tweak to their hearts content, IMHO.

Now, what do you think?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Mon Jul 11, 2005 11:09 am    Post subject: Reply with quote

It already exists, but is unofficial and unsupported.

https://forums.gentoo.org/viewtopic-t-280748-highlight-c+xx+flag.html
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4923
Location: Gothenburg, Sweden

PostPosted: Mon Jul 11, 2005 12:27 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of the above mentioned topic.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum