Simon Stelling <[EMAIL PROTECTED]> posted [EMAIL PROTECTED],
excerpted below, on Thu, 19 Oct 2006 17:42:20 +0200:
> If you want to add instead of replace, CFLAGS="${CFLAGS} -fadded" will do
> the job. Removing is done with CFLAGS=" ${CFLAGS}" ;
> CFLAGS=${CFLAGS//-fremoved}
>
> So you can do effectively anything, given you know the bash tricks ;)
Hey, thanks! The add was a no-brainer here, but I hadn't thought about the
remove trick yet. Very nice! =8^)
Will those tricks work in make.conf directly, say to add or subtract from
CFLAGS when assigning CXXFLAGS? I had at first thought not, but thinking
again, perhaps so, if python takes it literally but never uses it except
by passing it to bash which immediately expands it as appropriate.
I suppose I could test, but it'd be after some sleep and if you know in
the mean time...
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
[email protected] mailing list