|
[Valgrind-developers] valgrind: r12489: Switch back optimisation
flag back to -O2 by removing the -O
From: <sv...@va...> - 2012-04-04 22:49:34
|
philippe 2012-04-04 23:49:27 +0100 (Wed, 04 Apr 2012)
New Revision: 12489
Log:
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, ...).
Modified files:
branches/TCHAIN/Makefile.all.am
Modified: branches/TCHAIN/Makefile.all.am (+1 -3)
===================================================================
--- branches/TCHAIN/Makefile.all.am 2012-04-04 23:44:18 +01:00 (rev 12488)
+++ branches/TCHAIN/Makefile.all.am 2012-04-04 23:49:27 +01:00 (rev 12489)
@@ -92,9 +92,7 @@
-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
|