-O1 instead of -O2

Franco De Angelis fda at ied.eng.unipr.it
Fri Jan 4 16:11:09 GMT 2002


Hello Walter,

> modify your configure.in.in
> aasuming you are talking of c++ project and not c-project
> insert this line after the AC_CHECK_COMPILERS
> CXXFLAGS="$NOOPT_CXXFLAGS -O1"

my project is actually a C project :-)
I tried to add this line:

	CFLAGS="$NOOPT_CFLAGS -O1"

after the line:

	AC_CHECK_C_COMPILER

in my configure.in and it seems to work correctly! :-)
Also, compiling from within kdevelop produces nicer messages
("-O1" instead of "-O1 Wall -O1") :-)

Thank you!
Franco
-- 
e-mail: fda at ied.unipr.it

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list