[PATCH 00/10] tools: Various build flags fixes
From: Jiri Olsa
Date: Tue Oct 16 2018 - 11:06:27 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.
thanks,
jirka
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
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: Signed-off-by: Len Brown <len.brown@xxxxxxxxx>
Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
Cc: Thomas Renninger <trenn@xxxxxxxx>
Cc: Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx>
Cc: Zhang Rui <rui.zhang@xxxxxxxxx>
---
Jiri Olsa (10):
tools lib traceevent: Use LDFLAGS in the build commands
tools perf: Pass build flags to traceevent build
tools cpupower debug: Allow to use outside build flags
tools cpupower: Override CFLAGS assignments
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/lib/traceevent/Makefile | 4 ++--
tools/perf/Makefile.perf | 2 +-
tools/power/cpupower/Makefile | 12 ++++++------
tools/power/cpupower/debug/x86_64/Makefile | 4 ++--
tools/power/x86/turbostat/Makefile | 8 ++++----
tools/power/x86/x86_energy_perf_policy/Makefile | 6 +++---
tools/thermal/tmon/Makefile | 8 ++++----
9 files changed, 24 insertions(+), 24 deletions(-)