Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5294977imm; Tue, 16 Oct 2018 08:08:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV6295hpZu0XX35jS07D09fpqRXOs3rYfagt+2qlbcuJOf12kdrWsg4c9pt9LBuxncLHruhbU X-Received: by 2002:a63:4cb:: with SMTP id 194-v6mr20661693pge.183.1539702517762; 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=Ud+pqs2w/f1TWLuguzYEG5/HtxsNvvHhLxREhh7vSyuWPKxOngiOepbEmb1m8Ag5Ax SgAQZ7hnTrhVYcTwofpOFggkMNzN/c5/5MdCha/GigkS6gLDilzQtWRThDzjvpaYmRpQ yWYzheWUhwTG2j7qWlnntC1m8EzDkmHtDS7qnnMZn892IZL5gDB214gDnXf/Ebh5tCyw w61um5mvV7sENL+4zfRG4sMKVQJTVcDap1mTV67STbNyH8hXHIr9sycPzGFZbyWanfmA Q9JKA2I+Zuoe2w/thirPxew2rf+p4BBeLuCa+uuoVbcwmzgGR034NXD8jKOmIYjO1kBR 0dxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Ccq8viHeQUhenjzN70r26ZDTsGW4WZbcah3QJpsYJso=; b=oLDmfneYuwGnG9xgzH5GpXHRUOvaHo78zXZB7nzoz5/R6isZ6GaDjmuJwf17BWPAVB mJN603w/17e2Ma0IulypUx7KFpqL2t2AXPTgRbx1PuZCjYZSapaB88VTCuIaBVIqveOM 7pP+2mjOqHmALkyfTp2nxilLMfhA8kDvN2Qe3qr5F47WxW8a/I+OGCTASEBZ1xRouNg8 cVErHy8t+a5tykUt7yyBoYaKlZJxzZJLYY/Sht8xDqYUOv9/MBQTP8L+KMwiVa08SoG3 foMh7ebkyt0m2magRxr442f4So5LzBk4uyz/dR6bRmRwhYT6yXlBYO38LKOzne3gIFWQ Pi/Q== 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 e5-v6si15826735pln.190.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 S1727632AbeJPW6M (ORCPT + 99 others); Tue, 16 Oct 2018 18:58:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54258 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbeJPW6L (ORCPT ); Tue, 16 Oct 2018 18:58:11 -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 65BDE3091793; Tue, 16 Oct 2018 15:07:19 +0000 (UTC) Received: from krava.brq.redhat.com (unknown [10.43.17.150]) by smtp.corp.redhat.com (Postfix) with ESMTP id DB45958901; Tue, 16 Oct 2018 15:07:17 +0000 (UTC) From: Jiri Olsa To: lkml Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , "Herton R. Krzesinski" Subject: [PATCH 09/10] tools iio: Override CFLAGS assignments Date: Tue, 16 Oct 2018 17:06:14 +0200 Message-Id: <20181016150614.21260-10-jolsa@kernel.org> In-Reply-To: <20181016150614.21260-1-jolsa@kernel.org> References: <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.41]); Tue, 16 Oct 2018 15:07:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org So user could specify outside CFLAGS values. 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)) -- 2.17.2