]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Switch back optimisation flag back to -O2 by removing the -O
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 4 Apr 2012 22:49:27 +0000 (22:49 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Wed, 4 Apr 2012 22:49:27 +0000 (22:49 +0000)
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

Makefile.all.am

index fdf4ab99aa2ee6653f177b5a4c67dbf4b300ee15..fe6fccd20101ac44f801b391c0350faad47620ab 100644 (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