I noticed if you <div>mkdir bld</div><div>cd bld</div><div>../platforms/unix/cmake/configure --CFLAGS="-foo" <div><br></div><div>-- Setting CFLAGS=-foo</div><div>-- Using CFLAGS -g -fomit-frame-pointer -O2</div><div>
<br></div><div>make -n </div><div>confirms that the CFLAGS used for gcc is the "-g -fomit-frame-pointer -O2" not the -foo you asked for. </div><div><br></div><div>Now if you toss chicken entrails about you might get </div>
<div>-- Setting CFLAGS=-fum </div><div>-- Setting CFLAGS=-foo</div><div>---Setting -g -fomit-frame-pointer -O2</div><div>--Using CFLAGS -fum </div><div><br></div><div>Or you repeat the </div><div>../platforms/unix/cmake/configure --CFLAGS="-foo" </div>
<div>a couple of times, then it takes well maybe... </div><div><br></div><div>Or various hand waving of CFLAGS=</div><div>rm CMakeCache.txt</div><div><br></div><div>maybe some can explain the magic, or fix the script? </div>
<div><br></div><div>-- <br>===========================================================================<br>John M. McIntosh <<a href="mailto:johnmci@smalltalkconsulting.com">johnmci@smalltalkconsulting.com</a>><br>Corporate Smalltalk Consulting Ltd. <a href="http://www.smalltalkconsulting.com">http://www.smalltalkconsulting.com</a><br>
===========================================================================<br><br><br>
</div></div>