ALFS Communication Design
John.Arrowwood at merant.com
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 </...>
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...
From: Gerard Beekmans [mailto:gerard at linuxfromscratch.org]
Sent: Thursday, September 07, 2000 12:36 PM
To: alfs-discuss at linuxfromscratch.org
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
-*- If Linux doesn't have the solution, you have the wrong problem -*-
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the alfs-discuss