]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf: Use default compiler mode by default
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Nov 2009 12:13:35 +0000 (14:13 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:55:29 +0000 (15:55 -0700)
commitd14085b73f362c8cdcc20a39276f5fcf9c8979f0
tree8119f2adc56ca8000c7b68baf2bc1e80cc229aef
parentd3a9ac6ecf0b900696da35c5fc8b5f116fda1077
perf: Use default compiler mode by default

commit 81516c5fc83a13a1d12f466aa7e14f5fd62a63ce upstream.

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>
[bwh: Backport to 2.6.32]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
tools/perf/Makefile