Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to pass flags to ebuilds
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
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Thu Feb 15, 2007 10:19 pm    Post subject: how to pass flags to ebuilds Reply with quote

I want to compile libgphoto2 with this flag:

CPPFLAGS="-DCANON_EXPERIMENTAL_20D"

How would I do that in a merge?

I think the manual way would be:

CPPFLAGS="-DCANON_EXPERIMENTAL_20D" ./configure

Thanks,

Gene
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Feb 16, 2007 1:15 am    Post subject: Reply with quote

The answers you seek can be found in the topic "Per-package CFLAGS seem already to be part of Portage!".

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