Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
package-specific 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
ayqazi
Apprentice
Apprentice


Joined: 10 Apr 2005
Posts: 164

PostPosted: Tue Feb 28, 2006 12:35 am    Post subject: package-specific cflags Reply with quote

Hi,

How can I specify package-specific CFLAGS? Say if I want a package to have different CFLAGS to what is usually used on my system, and I want to automatically use the same CFLAGS to be used whenever the package is upgraded. Possible?

Thanks
Back to top
View user's profile Send private message
kicker
n00b
n00b


Joined: 03 May 2005
Posts: 47

PostPosted: Tue Feb 28, 2006 3:03 am    Post subject: Reply with quote

You might want to look into package.cflags, i never used it tho, but I think it is what you are looking for (/etc/portage/package.cflags)
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Tue Feb 28, 2006 4:14 am    Post subject: Reply with quote

Unfortunately it doesn't exist (yet). Use /etc/portage/bashrc.
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Feb 28, 2006 6:02 am    Post subject: Reply with quote

Please see these topics:

Somethig like package.use for CFLAGS?
distclean and per package CFLAGS in portage...
/etc/portage/package.c{,xx}flags features - v1.0_rc1

Moved from Portage & Programming to Duplicate Threads.
_________________
No-one's more important than the earthworm.
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