Re: [PATCH] tools build: Clean CFLAGS and LDFLAGS for fixdep

From: Jiri Olsa
Date: Thu Nov 19 2015 - 09:14:28 EST


On Thu, Nov 19, 2015 at 07:46:01AM +0000, Wang Nan wrote:

SNIP

>
> This is because CFLAGS in perf building pollutes CFLAGS used for fixdep,
> passes -fstack-protector-all to fixdep builder which is obviously not
> required. Since fixdep is a small host side tool, we should keep its
> CFLAGS/LDFLAGS simple anc clean.
>
> This patch clear CFLAGS and LDFLAGS passed to fixdep building, so such
> gcc problem won't block perf building.
>
> Signed-off-by: Wang Nan <wangnan0@xxxxxxxxxx>
> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

thanks,
jirka
--
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/