[PATCHv2 0/6] tools: Various build flags fixes

From: Jiri Olsa
Date: Wed Dec 12 2018 - 05:25:47 EST


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 <knaack.h@xxxxxx>
Cc: Jonathan Cameron <jic23@xxxxxxxxxx>
Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
Cc: Len Brown <len.brown@xxxxxxxxx>
Cc: Markus Mayer <mmayer@xxxxxxxxxxxx>
Cc: Shuah Khan <shuah@xxxxxxxxxx>
Cc: Len Brown <len.brown@xxxxxxxxx>
Cc: Thomas Renninger <trenn@xxxxxxxx>
Cc: Zhang Rui <rui.zhang@xxxxxxxxx>
---
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(-)