If you had --enable-symbols on the configure: make CFLAGS_DEBUG="-g -O2"
If you did not have --enable-symbols and want to change the optimize flag make CFLAGS_OPTIMIZE=-O2 I agree that the configure could be beefed up to handle the debug + optimize scenario more gracefully. -Elizabeth [EMAIL PROTECTED] wrote:
The AOLserver 4.0 beta 2 (and 3.5.2 as well) configure script appears to generate include/Makefile.global with CFLAGS_OPTIMIZE equal to either to "-g" or "-O", depending on whether you give --enable-symbols or not. Needless to say, that's not what I want. I've been using "-g -O2" with 3.3+ad13 and that seems to work fine. What is the recomended way to get the AOLserver build process to use "-g -O2"? Is there some magic flag I can pass to configure, or should I just manually edit the generated Makefile.global? Advice? Also, is there any reason to use only -O rather than -O2 for 4.0? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com
