Re: [tip:perfcounters/core] perf_counter tools: Build with native optimization

From: Paul Mackerras
Date: Thu Jun 04 2009 - 21:03:54 EST


tip-bot for Ingo Molnar writes:

> perf_counter tools: Build with native optimization
>
> Build the tools with -march=native by default.

On powerpc (RHEL5.2 on POWER5+, gcc 4.1.2), I get:

CC perf.o
cc1: error: unrecognized command line option "-march=native"
make: *** [perf.o] Error 1

Is there a way to make the default CFLAGS depend on the architecture?
We need -m64 on powerpc as well.

Paul.
--
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/