ALFS Communication Design

Gerard Beekmans gerard at linuxfromscratch.org
Thu Sep 7 12:47:16 PDT 2000


On Thu, 07 Sep 2000, you wrote:

> > 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...

Good point. I like it too. 

-- 
Gerard Beekmans
www.linuxfromscratch.org

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





More information about the alfs-discuss mailing list