Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Package specific CFlags? (solved)
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
brianahr
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 236
Location: USA

PostPosted: Wed Jul 26, 2006 8:23 pm    Post subject: Package specific CFlags? (solved) Reply with quote

I am curious if it is possible to have per-package cflags. Basically, my machine's standard CFlags are

Code:
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"


however, cinelerra-cvs only compiles if they are set to:

Code:
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"


and jpeg-mmx works correctly only when compiled with:

Code:
CFLAGS="-march=athlon64 -O2 -pipe"


if these packages needed updating during emerge -u world, the update will stop with compile errors at these packages unless I manually edit my cflags, merge them, and then change them back to the original settings before allowing any new packages to merge. Is there any other way around this?
_________________
no matter how you legislate, information wants to be free.


Last edited by brianahr on Wed Jul 26, 2006 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Wed Jul 26, 2006 8:28 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-472386-highlight-.html
_________________
If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting.
Back to top
View user's profile Send private message
freigeist
Guru
Guru


Joined: 26 Jan 2004
Posts: 338
Location: Cologne, Germany

PostPosted: Wed Jul 26, 2006 8:33 pm    Post subject: Reply with quote

Maybe this it what you are looking for (per package use flags): https://forums.gentoo.org/viewtopic.php?p=1749445
_________________
Elfenbeinturm.cc
a metaphysical space of solitude and sanctity: http://www.elfenbeinturm.cc
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


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

PostPosted: Thu Jul 27, 2006 7:58 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.
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