Gentoo Archives: gentoo-user

From: Erik Ruotsalainen <aegis@×××××.fi>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Setting CFLAGS for a single build
Date: Sat, 24 May 2008 14:10:45
Message-Id: 20080524141042.GA14864@kapsi.fi
In Reply to: [gentoo-user] Setting CFLAGS for a single build by dhk
1 On Sat, May 24, 2008 at 10:02:50AM +0000, dhk wrote:
2 > How can I modify the CFLAGS before emerging a package? I want to add
3 > -g2 to the compile of libxml2 so I can step through their functions. If
4 > I add -g2 to CFLAGS in make.conf it will do it for all packages which is
5 > not what I want.
6 >
7 > Thanks,
8 >
9 > Dave
10 > --
11 > gentoo-user@l.g.o mailing list
12 >
13
14 Same way as with USE flags, I think.
15
16 # CFLAGS="-g2" emerge libxml2
17
18 - aegis
19 --
20 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Setting CFLAGS for a single build Sebastian Magri <sebasmagri@×××××.com>
Re: [gentoo-user] Setting CFLAGS for a single build Alan McKinnon <alan.mckinnon@×××××.com>