Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1127586ima; Sun, 21 Oct 2018 05:27:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV62wue/flmNHKn5YMcYer71PDWNgGwQY3UFpOJTrOLiOVGTzOf+my05f1TTW25XlhVU5tcYq X-Received: by 2002:a17:902:bc8a:: with SMTP id bb10-v6mr9598560plb.99.1540124877349; Sun, 21 Oct 2018 05:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540124877; cv=none; d=google.com; s=arc-20160816; b=ZmgtvOLOohsNd+Qm3f0IPc7NBHSHnSonwREyPQQoTCPJbXyiD4nQW9MQc7xhQybDYO hJ7zajUji3RA6PQVRDbE9zqgdN0WcV0BRvna3G5pMp872wxxebK/CpET1sL88i3dHgVm ySC06UxJd4rlZO1ueejXebGcWKvbbhaVnUsPk2iTpb49F63+kcKGcDcYxOj361bbbArY dHgenJJTOuYZhduOHqWtn25C/WcBeg3gNu5Dw6zaraQG1j4Se3UfS8/d4XjwcIzf0Bjh HBZuwMY50kUVb81I3Vmb7Z/xTbYOhv9t30uACD5W8j3gKMc8kYHUjV+QXvobGxUyinML 95wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Yoa12PvoS3l9TbCSPeZxMwZGE0PRrJ9Rc3sweRbZcN4=; b=vbeae9uq4ae+eR/CI4xQxJL/tuJaLo9KnKTdbYfHglDe9GBDuQYN/WWV2+cOoNOBao BN/i/qvOQn+Nvwv951s5QX9ErZatUvXQff10k5Ybp452eINVTysMR3wtv8WjETuqd+8q 68+MxT5KyIsh56zzzrgxZejMRfQvHl3vI9R2TCX7jHHXwZknYAO9rGSNJ5rYtntKDR7B gRMP0qYg5qMgeNJV/zNNQ3A884ftIyzKyHesWy3a117fh6IvP8UeS1CuPleXZGTzjMEd giOn4Uf8qQFibGj28LOJ7eAcYKwIhydJeF1iglvwqFOVU0k/9YA2CFI/if2wTIVbsLlx w0bA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=w8BDZ7km; 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=pass (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 c1-v6si30988514pld.107.2018.10.21.05.27.28; Sun, 21 Oct 2018 05:27:57 -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; dkim=pass header.i=@kernel.org header.s=default header.b=w8BDZ7km; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727637AbeJUUlC (ORCPT + 99 others); Sun, 21 Oct 2018 16:41:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:45320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727379AbeJUUlC (ORCPT ); Sun, 21 Oct 2018 16:41:02 -0400 Received: from archlinux (unknown [176.12.107.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2DD2220869; Sun, 21 Oct 2018 12:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540124813; bh=Blsc+pBmCjQJO4FsimaXEyBe7lE3eHnIemORN55XpdU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=w8BDZ7kmJ+HETXYXnUGQjNhdioJXlZ1M/rx5fA/4OWmjRxH+focKCZjVuCBJ/018Z X/yOlQR4Cxd/HHduwVn7y+U9y8pJ2UDNE1Zr+WCvkYizgQjbek2wCPx++etQZgpiZY dMrAH8L/CSST3mIgfs5Ic/6UPBecZgVVmny/Axzs= Date: Sun, 21 Oct 2018 13:26:34 +0100 From: Jonathan Cameron To: Jiri Olsa Cc: lkml , Hartmut Knaack , Lars-Peter Clausen , "Herton R. Krzesinski" , linux-iio@vger.kernel.org Subject: Re: [PATCH 09/10] tools iio: Override CFLAGS assignments Message-ID: <20181021132616.34e3bc95@archlinux> In-Reply-To: <20181016150614.21260-10-jolsa@kernel.org> References: <20181016150614.21260-1-jolsa@kernel.org> <20181016150614.21260-10-jolsa@kernel.org> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Oct 2018 17:06:14 +0200 Jiri Olsa wrote: > So user could specify outside CFLAGS values. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to poke at them. Thanks Jonathan > > Cc: Jonathan Cameron > Cc: Hartmut Knaack > Cc: Lars-Peter Clausen > Signed-off-by: Jiri Olsa > --- > tools/iio/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/iio/Makefile b/tools/iio/Makefile > index 332ed2f6c2c2..e22378dba244 100644 > --- a/tools/iio/Makefile > +++ b/tools/iio/Makefile > @@ -12,7 +12,7 @@ endif > # (this improves performance and avoids hard-to-debug behaviour); > MAKEFLAGS += -r > > -CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include > +override CFLAGS += -O2 -Wall -g -D_GNU_SOURCE -I$(OUTPUT)include > > ALL_TARGETS := iio_event_monitor lsiio iio_generic_buffer > ALL_PROGRAMS := $(patsubst %,$(OUTPUT)%,$(ALL_TARGETS))