1 |
On Tuesday 22 August 2006 05:18, Richard Fish wrote: |
2 |
> Actually there is. You can find all packages not compiled with -Os |
3 |
> and rebuild them with something like: |
4 |
> |
5 |
> cd /var/db/pkg |
6 |
> for pkg in */* ; do |
7 |
> grep -v -- "-Os" $pkg/CFLAGS >/dev/null |
8 |
> test $? -eq 0 && emerge --oneshot =$pkg |
9 |
> done |
10 |
|
11 |
Discussion further down this thread has made us aware that this will always |
12 |
make stuff like gcc, mozilla-firefox and openoffice become rebuilt despite |
13 |
that rebuilding them won't change their CFLAGS at all... |
14 |
|
15 |
-- |
16 |
Bo Andresen |