Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5294964imm; Tue, 16 Oct 2018 08:08:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV6288GYbqnkKox0MEd+Rt3ZuL1dPUJ/BbOYsI7YoenC8kRTGA0WRNTwfw30BdTCdd1nFtuAd X-Received: by 2002:a62:798e:: with SMTP id u136-v6mr22002767pfc.95.1539702517102; Tue, 16 Oct 2018 08:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539702517; cv=none; d=google.com; s=arc-20160816; b=z+vrHaKgePySDabgFo+n0Dn1TPSV8VD4N1h/6KuVWr97A8nVMZJtsQWupmm+k4e10U 94Sgc8LpcOwIsgk27EBYOMQR4lshFIXfK10p62TO8djFbIYmh3PZiM2Wym/eoPQj9+dm Q82vGB1ALkfp7CmO4T/kejNWMgHR6mlFLtTwNxdGvNGzE4N2brrlRz2IZijoSYcMx4TZ C/wvAarWYZYvCUCH4JtjeoxSMNUsOs3bY5SLha/DJfQ0nQlFob3RSjJGsEPv+/w0kbuJ eYsZGASQzFUvUjbPdQxm6IBs+UAtrv6gMpF8BB1ctScch3yF8pqRPlC583QLp2k2zreT dEPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=N4sceQshRhCxn4A1sSpOohD/YB8S3tcuNzKkgy4GW3I=; b=JndyCVnSwt0rmIXbuEHbCqADsyqkCgIw0L7hiBLOcSJy9DwFvx8WirT7EB3UtQ5SEs qdEjHiuQFCEGauy89LB351L0mQ93K9vNvhzgGqa/jjZPwHcauAMC7nkFdyPQ611V/3eH k5R3xQ2CM0nZ6gpVghrSx0eKyCzVL01lzmHg6NnkK7uOmQy87fi8PM7j84ZjYnyxTHvo 8KF/rHpsaE8b/0lm+3/HZc1jkucmSvcODSOavxsgjW44nmmlqwtEhQLyrDdSaU8LQfEy kxVv00DLKCUOSb3sUolyEfQZF6Tn9iGeQkldfgmx7rIF7HyzofvxnMolTvA4R93F+tl7 wQpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cf17-v6si15105972plb.92.2018.10.16.08.08.20; Tue, 16 Oct 2018 08:08:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727263AbeJPW5R (ORCPT + 99 others); Tue, 16 Oct 2018 18:57:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45493 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbeJPW5Q (ORCPT ); Tue, 16 Oct 2018 18:57:16 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 06D4C307D856; Tue, 16 Oct 2018 15:06:24 +0000 (UTC) Received: from krava.brq.redhat.com (unknown [10.43.17.150]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3CA6D58902; Tue, 16 Oct 2018 15:06:16 +0000 (UTC) From: Jiri Olsa To: lkml Cc: Arnaldo Carvalho de Melo , Hartmut Knaack , Jonathan Cameron , Lars-Peter Clausen , Len Brown , Markus Mayer , Shuah Khan , Steven Rostedt , Thomas Renninger , Tzvetomir Stoyanov , Zhang Rui , "Herton R. Krzesinski" Subject: [PATCH 00/10] tools: Various build flags fixes Date: Tue, 16 Oct 2018 17:06:05 +0200 Message-Id: <20181016150614.21260-1-jolsa@kernel.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Tue, 16 Oct 2018 15:06:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Hartmut Knaack Cc: Jonathan Cameron Cc: Lars-Peter Clausen Cc: Len Brown Cc: Markus Mayer Cc: Shuah Khan Cc: Signed-off-by: Len Brown Cc: Steven Rostedt Cc: Thomas Renninger Cc: Tzvetomir Stoyanov (VMware) Cc: Zhang Rui --- 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(-)