From: Philippe Waroquiers Date: Wed, 4 Apr 2012 22:49:27 +0000 (+0000) Subject: Switch back optimisation flag back to -O2 by removing the -O X-Git-Tag: svn/VALGRIND_3_8_0~350^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6c0e83cbdea2c7d39c2b063d83e1b4b03854fcb;p=thirdparty%2Fvalgrind.git 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 --- diff --git a/Makefile.all.am b/Makefile.all.am index fdf4ab99aa..fe6fccd201 100644 --- a/Makefile.all.am +++ b/Makefile.all.am @@ -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