Gentoo Archives: gentoo-user

From: Sebastian Magri <sebasmagri@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Setting CFLAGS for a single build
Date: Sat, 24 May 2008 14:14:32
Message-Id: 5cf51b790805240714v611d1cddha1e68b877c0e807a@mail.gmail.com
In Reply to: Re: [gentoo-user] Setting CFLAGS for a single build by Erik Ruotsalainen
1 You can use the "/etc/portage/env/category/package" to declare environment
2 variables for specific packages...
3
4 2008/5/25 Erik Ruotsalainen <aegis@×××××.fi>:
5
6 > On Sat, May 24, 2008 at 10:02:50AM +0000, dhk wrote:
7 > > How can I modify the CFLAGS before emerging a package? I want to add
8 > > -g2 to the compile of libxml2 so I can step through their functions. If
9 > > I add -g2 to CFLAGS in make.conf it will do it for all packages which is
10 > > not what I want.
11 > >
12 > > Thanks,
13 > >
14 > > Dave
15 > > --
16 > > gentoo-user@l.g.o mailing list
17 > >
18 >
19 > Same way as with USE flags, I think.
20 >
21 > # CFLAGS="-g2" emerge libxml2
22 >
23 > - aegis
24 > --
25 > gentoo-user@l.g.o mailing list
26 >
27 >
28
29
30 --
31 En el pasado creímos que se nos acababa
32 el petróleo, pero en realidad lo que se nos
33 acababan eran las IDEAS.
34 Gentoo/* (Linux #455615)
35 53:04:4e:b5:f9:7e:4a:fb:66:a2:19:12:da:d5:97:f8
36 8A3A C955 715D D88A 87CD E21F F827 ADD7 F589 B4A4
37 Sebastian Magri (sebasmagri) <sebasmagri@×××××.com>

Replies

Subject Author
Re: [gentoo-user] Setting CFLAGS for a single build dhk <dhkuhl@×××××××××.net>