Re: [PATCH 32/52] tools/perf/build: Speed up auto-detection offeatures by adding a 'test-all' target

From: Ingo Molnar
Date: Wed Oct 09 2013 - 02:47:40 EST



* Jiri Olsa <jolsa@xxxxxxxxxx> wrote:

> On Tue, Oct 08, 2013 at 12:11:02PM +0200, Ingo Molnar wrote:
>
> SNIP
>
> > diff --git a/tools/perf/config/feature-checks/Makefile b/tools/perf/config/feature-checks/Makefile
> > index c65bdac..b031669 100644
> > --- a/tools/perf/config/feature-checks/Makefile
> > +++ b/tools/perf/config/feature-checks/Makefile
> > @@ -32,6 +32,9 @@ BUILD = $(CC) -o $(OUTPUT)$@ $@.c
> >
> > ###############################
> >
> > +test-all:
> > + $(BUILD) -Werror -fstack-protector -Wvolatile-register-var -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 -lelf -laudit -I/usr/include/slang -lslang $(shell pkg-config --libs --cflags gtk+-2.0 2>/dev/null) $(FLAGS_PERL_EMBED) $(FLAGS_PYTHON_EMBED) -DPACKAGE='perf' -DPACKAGE=perf -lbfd -ldl
> > +
>
> missing -fstack-protector-all ? ;-)

Indeed :-) Fixed.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/