Gentoo Archives: gentoo-server

From: Lance Albertson <ramereth@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Changing CFLAGS
Date: Mon, 20 Sep 2004 15:05:27
Message-Id: 414EF0A3.1080504@gentoo.org
In Reply to: [gentoo-server] Changing CFLAGS by Karl Zander
1 Karl Zander wrote:
2
3 > If I make changes to CFLAGS in make.conf do I have re-compile
4 > everything with the new CFLAGS ?
5 >
6 > emerge -e world
7 >
8 > Or can the existing packages use the CFLAGS they were compiled with and
9 > when I update packages or add new packages they would use the new
10 > CFLAGS. Will Gentoo become unstable if mixed CFLAGS are used? Same
11 > with USE....if I change USE flags will that cause harm to existing
12 > packages?
13
14 I'd recommend you just do:
15
16 emerge -epv world | grep <use flag you added>
17
18 And see what packages it has flagged, then just emerge those packages. It should
19 add any packages the useflag enables. I'm sure you could come up with some fancy
20 sed/awk/xarg action to just do it in one command, but this at least gets what
21 you need!
22
23 > On the first Gentoo system I set up a few month ago I did not understand
24 > what CFLAGS and USE flags were all about so I did not change any of the
25 > defaults. I would like to go back to adjust things now.
26
27 No problem with that!
28
29
30 --
31 Lance Albertson <ramereth@g.o>
32 Gentoo Infrastructure
33
34 ---
35 Public GPG key: <http://www.ramereth.net/lance.asc>
36 Key fingerprint: 0423 92F3 544A 1282 5AB1 4D07 416F A15D 27F4 B742
37
38 ramereth/irc.freenode.net

Attachments

File name MIME type
signature.asc application/pgp-signature