* 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]
>
> >
* 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]
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
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
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 ++-
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
6 matches
Mail list logo