perf: Use default compiler mode by default
commit81516c5fc83a13a1d12f466aa7e14f5fd62a63ce
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Nov 2009 12:13:35 +0000 (22 14:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 23 Nov 2009 06:55:57 +0000 (23 07:55 +0100)
treecf69a671dae720bbf1cd97f3191e0d975b57b60b
parent50e5095afa8c2be0f35e5c0e21d5f7912340e8f2
perf: Use default compiler mode by default

gcc with no flags typically is a sane default for systems to
use, and looking at the running kernel is probably broken for
cross-builds anyway, so let's not do this.  Add EXTRA_CFLAGS so
that users can override default gcc mode if they want to.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arjan van de Ven <arjan@infradead.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <20091122121335.GA24254@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile