]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel pt decoder: clang has no -Wno-override-init
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Feb 2017 19:18:02 +0000 (16:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Feb 2017 19:18:02 +0000 (16:18 -0300)
commit327836a24099f227f0e0baa388f5f2e6b18b87dc
tree3a9a2ac68c1a499aaeffef399bc4e37da9c16118
parentd1adcd233e7b739f9d839705e0729c8a8c686308
perf intel pt decoder: clang has no -Wno-override-init

So set it only for other compilers, allowing us to overcome yet another
build failure due to an inexistent clang -W option:

  error: unknown warning option '-Wno-override-init'; did you mean '-Wno-override-module'? [-Werror,-Wunknown-warning-option]

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-oaa1ici3j8nygp4pzl2oobh3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt-decoder/Build