diff options
author | Paul Mackerras <paulus@samba.org> | 2009-06-17 21:54:26 +1000 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-18 11:11:47 +0200 |
commit | e24a72c4d8f0b2c17783b3ba9c8931b537149423 (patch) | |
tree | 59303415c5e10d514b7c76a4a8f96cc15d9299d9 /fs/anon_inodes.c | |
parent | 7325927e5a20bfe0f006acf92801bf41c537d3d4 (diff) | |
download | op-kernel-dev-e24a72c4d8f0b2c17783b3ba9c8931b537149423.zip op-kernel-dev-e24a72c4d8f0b2c17783b3ba9c8931b537149423.tar.gz |
perf_counter: tools: Makefile tweaks for 64-bit powerpc
On 64-bit powerpc, perf needs to be built as a 64-bit executable.
This arranges to add the -m64 flag to CFLAGS if we are running on
a 64-bit machine, indicated by the result of uname -m ending in "64".
This means that we'll use -m64 on x86_64 machines as well.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: linuxppc-dev@ozlabs.org
Cc: benh@kernel.crashing.org
LKML-Reference: <19000.55666.866148.559620@cargo.ozlabs.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions