1 |
on 09/08/04 23:42 Ned Ludd said the following: |
2 |
<snip> |
3 |
> |
4 |
> I played with that idea for a few mins, but unfortunately I found no |
5 |
> easy way in bash to deal with the quotes. |
6 |
> Assuming this syntax. |
7 |
> |
8 |
> sys-apps/paxctl CFLAGS="-Os -fomit-frame-pointer" |
9 |
> sys-devel/gdb CFLAGS="-O2 -g3" |
10 |
> app-misc/beep FEATURES="sfperms sandbox" LDFLAGS="-Wl,-z,now |
11 |
> -Wl,-z,relro" |
12 |
> dev-libs/openssl CFLAGS="-O3 -fno-omit-frame-pointer -m32" |
13 |
> .. |
14 |
> |
15 |
> Maybe somebody else is motivated to do it from the basic idea. I gave up |
16 |
> and settled for the easy way out of package.cflags package.ldflags here |
17 |
> locally. |
18 |
> |
19 |
|
20 |
What about sed'ing out the package name and then eval'ing the rest of the line? |
21 |
|
22 |
Wcc |
23 |
|
24 |
-- |
25 |
gentoo-dev@g.o mailing list |