Switch back optimisation flag back to -O2 by removing the -O

Note that I believe it is possible to avoid Makefile.all.am
edition for this by using:
   ./configure CFLAGS="-O0 -g"

I think with this, make will mostly compile everything with the given CFLAGS
except the main programs (valgrind, vgdb, ...).



git-svn-id: svn://svn.valgrind.org/valgrind/branches/TCHAIN@12489
This commit is contained in:
Philippe Waroquiers 2012-04-04 22:49:27 +00:00
parent 37d9d6d185
commit e6c0e83cbd

View File

@ -92,9 +92,7 @@ AM_CFLAGS_BASE = \
-Wmissing-declarations \
@FLAG_W_NO_FORMAT_ZERO_LENGTH@ \
-fno-strict-aliasing \
-fno-builtin \
\
-O
-fno-builtin
# These flags are used for building the preload shared objects.
# The aim is to give reasonable performance but also to have good