hi, while hardening some of the tools rpm, we noticed we can't pass build flags to some of them.
Sending separate tools fixes for what we found. It's mostly override for CFLAGS and adding LDFLAGS to the build commands. v2 changes: - 4 patches already accepted, still 6 to go ;-) - adding more people to cc Also available in here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git tools/flags thanks, jirka Cc: Hartmut Knaack <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Len Brown <[email protected]> Cc: Markus Mayer <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Len Brown <[email protected]> Cc: Thomas Renninger <[email protected]> Cc: Zhang Rui <[email protected]> --- Jiri Olsa (6): tools power x86_energy_perf_policy: Override CFLAGS assignments and add LDFLAGS to build command tools thermal tmon: Override CFLAGS assignments tools thermal tmon: Use -O3 instead of -O1 if available tools power turbostat: Override CFLAGS assignments and add LDFLAGS to build command tools iio: Override CFLAGS assignments tools gpio: Override CFLAGS assignments tools/gpio/Makefile | 2 +- tools/iio/Makefile | 2 +- tools/power/x86/turbostat/Makefile | 8 ++++---- tools/power/x86/x86_energy_perf_policy/Makefile | 6 +++--- tools/thermal/tmon/Makefile | 8 ++++---- 5 files changed, 13 insertions(+), 13 deletions(-)

