perf tools: Add support for disabling -Werror via WERROR=0
authorDarren Hart <dvhart@linux.intel.com>
Thu, 8 Sep 2011 20:42:39 +0000 (13:42 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 23 Sep 2011 17:38:07 +0000 (14:38 -0300)
commit9e59e0995a57048c53773f1de99c6637ad12dd25
treef50f29fa9797e0be4e5a3a79e3ef2b190b7279dd
parentaf52aafad26fe83edc3ff95d6f630c2fc98a0c4c
perf tools: Add support for disabling -Werror via WERROR=0

GCC often introduces new warnings with lots of false positives -
breaking -Werror builds. WERROR=0 allows one to build perf without much
fuss - while still encouraging people to send patches to avoid the fuss
of having to type WERROR=0.

Bisecting back to commits that produce a (mostly harmless) warning on
some compilers is more difficult. With WERROR=0 one could bisect without
worrying about harmless warnings.

Cc: Ingo Molnar <mingo@elte.hu>
Link: http://lkml.kernel.org/r/eac06c7cc4920e5d4830417d466161fb26c7359c.1315514559.git.dvhart@linux.intel.com
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile