summaryrefslogtreecommitdiff
path: root/Makefile.flags.am
AgeCommit message (Collapse)AuthorFilesLines
2008-06-23Pass the flag -Wno-format-zero-length to gcc (if supported by gcc) while ↵bart1-0/+1
compiling tools. This flag only affects those tools for which -Wformat is enabled (at this time only exp-drd). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8270 a5019735-40e9-0310-863c-91ae7b9d1cf9
2008-04-16Replaced -nostdlib by -nodefaultlibs such that constructors are executed at ↵bart1-2/+2
shared library load time. Replaced _init() function in drd_pthread_intercepts.c by a function with a constructor attribute in order to increase portability. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7883 a5019735-40e9-0310-863c-91ae7b9d1cf9
2007-11-16Avoid hundreds of warnings from -Winline on gcc-4.3:sewardj1-1/+1
In dump.c, gcc complains that 'param max-stack-frame-growth' would be exceeded, so remove 'inline' spec. All other warnings are of the form 'call is unlikely and code size would grow'. These aren't interesting. Remove -Winline. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7164 a5019735-40e9-0310-863c-91ae7b9d1cf9
2007-11-16Back out bogus strict-aliasing hacks and use -fno-strict-aliasing bysewardj1-2/+3
default. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7163 a5019735-40e9-0310-863c-91ae7b9d1cf9
2007-11-16Change the baseline optimisation level from -O to -O2.sewardj1-3/+8
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7162 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-10-17Merge r6086:sewardj1-3/+33
Makefile.am changes for AIX5. Almost all boilerplate stuff fitting in with the existing factorisation scheme. The only change of interest is that configure.in now generates automake symbols of name VGP_platform and VGO_os, whereas previously it just made VG_platform which was a bit inconsistent with the VGP/VGO/VGA scheme used in C code. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6242 a5019735-40e9-0310-863c-91ae7b9d1cf9
2006-01-04Somewhat rehash the biarch-build machinery so as to (1) formalise thesewardj1-15/+29
distinction between primary and secondary build targets, and (2) make it independent of the default behaviour of gcc (iow, what gcc does when you specify neither -m32 nor -m64). As a result, an out-of-the-box build on ppc64-linux now builds a system which is basically for 64-bit PowerPC, but also has the ability to run 32-bit ppc-linux binaries (exactly the same arrangement as you get when building on amd64-linux). There are various twists and turns. multiple-architectures.txt is updated all the gory details. This will break amd64 builds until such time as <tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-11-29Add framework for ppc64 support. Apologies in advance for thesewardj1-2/+6
inevitable breakage to other platforms. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5250 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-11-11Turn on some extra warnings.tom1-1/+2
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5082 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-11-08Reworked to avoid depending on $(eval) in the make files as only fairlytom1-5/+3
new GNU make versions seem to have it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5037 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-11-07ppc32 build fix.sewardj1-1/+1
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5031 a5019735-40e9-0310-863c-91ae7b9d1cf9
2005-11-07Dual architecture support - this commit is a major rework of the buildtom1-0/+21
system that allows multiple copies of valgrind to be built so that we can build both x86 and amd64 versions of the tools on amd64 machines. The launcher is then modified to look at the program being run and decide which tool to use to run it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5027 a5019735-40e9-0310-863c-91ae7b9d1cf9