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 <knaac...@gmx.de> Cc: Jonathan Cameron <ji...@kernel.org> Cc: Lars-Peter Clausen <l...@metafoo.de> Cc: Len Brown <len.br...@intel.com> Cc: Markus Mayer <mma...@broadcom.com> Cc: Shuah Khan <sh...@kernel.org> Cc: Len Brown <len.br...@intel.com> Cc: Thomas Renninger <tr...@suse.com> Cc: Zhang Rui <rui.zh...@intel.com> --- 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(-)