ALFS Communication Design

John Arrowwood John.Arrowwood at
Thu Sep 7 12:39:58 PDT 2000

Save on work, don't parse the env_var tag, build it with the
optimization_level tag, like this:

<optimization_level> 3 </...>
<environment var="CFLAGS">-O$optimization_level</environment>

Then, if you decide to back-off the optimization level, then you change it
in the code, and re-build all strings that contained it.  No parsing, AND
there is less risk of failing due to user manipulation of the string and
thereby no longer being able to FIND the darn thing...

-----Original Message-----
From: Gerard Beekmans [mailto:gerard at]
Sent: Thursday, September 07, 2000 12:36 PM
To: alfs-discuss at
Subject: Re: ALFS Communication Design

> Oh, great ideas! Then we can't include all that make command into a
> <command> tag, we have to break it down.

My point exactly. See a later mail where I explained my reasons for having:

And when that didn't work profiler can modify the <env_var> tag's value,
-O occurances and change -Ox into -O. If it's already -O, remove -O

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the alfs-discuss mailing list