[PATCHv3 0/2] tools: Various build flags fixes

From: Jiri Olsa
Date: Thu Jan 03 2019 - 11:13:58 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.

Any additional reviews would be great.. ;-)

v3 changes:
- 4 more patches accepted, still 2 to go
- rebased on top of Arnaldo's perf/core

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_v3

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 (2):
tools thermal tmon: Use -O3 instead of -O1 if available
tools iio: Override CFLAGS assignments

tools/iio/Makefile | 2 +-
tools/thermal/tmon/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)