diff options
author | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2006-01-04 01:20:28 +0000 |
---|---|---|
committer | sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> | 2006-01-04 01:20:28 +0000 |
commit | 01262145df78ed864f0b638cbb4433a3398c2555 (patch) | |
tree | 930f3a8351a6b965b58b7cc56a31ab3b3ee9f010 /perf | |
parent | 3a0158f08e75fa0044df3c9024bb0a2277611024 (diff) |
Somewhat rehash the biarch-build machinery so as to (1) formalise the
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
Diffstat (limited to 'perf')
-rw-r--r-- | perf/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/perf/Makefile.am b/perf/Makefile.am index ba8d3225..669de45b 100644 --- a/perf/Makefile.am +++ b/perf/Makefile.am @@ -1,4 +1,7 @@ +# For AM_FLAG_M3264_PRI +include $(top_srcdir)/Makefile.flags.am + noinst_SCRIPTS = vg_perf noinst_HEADERS = stdarg.h stddef.h @@ -16,11 +19,11 @@ EXTRA_DIST = $(noinst_SCRIPTS) \ check_PROGRAMS = \ bigcode bz2 fbench ffbench heap sarp tinycc -AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O +AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -O $(AM_FLAG_M3264_PRI) AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include AM_CXXFLAGS = $(AM_CFLAGS) # Extra stuff -fbench_CFLAGS = -g -O2 +fbench_CFLAGS = $(AM_FLAG_M3264_PRI) -g -O2 fbench_LDADD = ffbench_LDADD = -lm |