Re: [PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim wrote: > On Tue, 8 Oct 2013 12:10:36 +0200, Ingo Molnar wrote: > > -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror > > -Wstack-protector,-Wstack-protector),y) > > +ifeq ($(feature-stackprotector), 1) > >CFLAGS += -Wstack-protector > > endif > > [SNIP] > > >

Re: [PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:10:36 +0200, Ingo Molnar wrote: -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wstack-protector,-Wstack-protector),y) +ifeq ($(feature-stackprotector), 1) CFLAGS += -Wstack-protector endif [SNIP]

Re: [PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-09 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:10:36 +0200, Ingo Molnar wrote: > -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror > -Wstack-protector,-Wstack-protector),y) > +ifeq ($(feature-stackprotector), 1) >CFLAGS += -Wstack-protector > endif [SNIP] > +test-stackprotector: > + $(BUILD) -Werror

Re: [PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-09 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:10:36 +0200, Ingo Molnar wrote: -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wstack-protector,-Wstack-protector),y) +ifeq ($(feature-stackprotector), 1) CFLAGS += -Wstack-protector endif [SNIP] +test-stackprotector: + $(BUILD) -Werror

[PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-08 Thread Ingo Molnar
Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Link: http://lkml.kernel.org/n/tip-eylyjhskzn6qxkoyjtjic...@git.kernel.org Signed-off-by: Ingo Molnar --- tools/perf/config/Makefile | 3 ++-

[PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-08 Thread Ingo Molnar
Cc: Arnaldo Carvalho de Melo a...@redhat.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Namhyung Kim namhy...@kernel.org Cc: David Ahern dsah...@gmail.com Cc: Jiri Olsa jo...@redhat.com Link: http://lkml.kernel.org/n/tip-eylyjhskzn6qxkoyjtjic...@git.kernel.org Signed-off-by: Ingo Molnar