From patchwork Thu Nov 8 20:23:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paride Legovini X-Patchwork-Id: 10674965 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2152E15A6 for ; Thu, 8 Nov 2018 20:30:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1006F2E2AB for ; Thu, 8 Nov 2018 20:30:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01BE22E2D8; Thu, 8 Nov 2018 20:30:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 429B32E2AB for ; Thu, 8 Nov 2018 20:30:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726950AbeKIGHG (ORCPT ); Fri, 9 Nov 2018 01:07:06 -0500 Received: from nevel.ninthfloor.org ([213.167.244.57]:43548 "EHLO nevel.ninthfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725723AbeKIGHG (ORCPT ); Fri, 9 Nov 2018 01:07:06 -0500 X-Greylist: delayed 365 seconds by postgrey-1.27 at vger.kernel.org; Fri, 09 Nov 2018 01:07:04 EST Received: from [192.168.2.1] (2-234-35-49.ip221.fastwebnet.it [2.234.35.49]) (Authenticated sender: pl) by nevel.ninthfloor.org (Postfix) with ESMTPSA id D90B4C08F; Thu, 8 Nov 2018 20:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ninthfloor.org; s=2016; t=1541708633; bh=aB1Dqq+Q1HlM7+oE2W3Nzgq3iRnbln2d19/+hl7mb8s=; h=To:Cc:From:Subject:Date:From; b=UjQX5bkovLr0hXAXZ8SXbXUEuNRm6GI0J4XFAA6w1uHOJBRtuRvWuOlmgwRn7kNy1 TixnrTUsu6mVLAIGNO51rAi9S6/zIAZ0yzQlrGMxSNHikSFnLMAhrPQcj9WQ/aA0vU V/o+uRVqmiuUmIHrlezBq9r0ZMIrtMY4HN8AOghx3D41PdGzSKYKliYiLoHCSE8U79 gNctg43Sy3muCB504C/fLhx1/o0H+ERYKLGDpkeMMz6UAly5fMtUN4nHWcxWZuuoLW eMePrwCI4TkBRNS/8HPbdVL5yh6r37aUbv9yajBDXvLdi+uA4O3TMClwq0n4TStaDU 4xHF3o+ha3SwA== To: Johannes Berg Cc: linux-wireless@vger.kernel.org From: Paride Legovini Openpgp: preference=signencrypt Autocrypt: addr=pl@ninthfloor.org; keydata= mQINBFWvZeIBEADgTz4fa/O9Uy0ZjovkqT4WNKiccQIEFqemms01tUVlhN7IxkpPHi9xJbJr pQCE0N0gU33txNqzBjcvL9dEv+zrNCReCkBrw2NprZpLKdbpu3WOwCDfksfQ1bcES0c/7C4Y nWLKoWK9qSV0VkSANdmJOqfPXbTlqV9wdLLdCv36WyKPNS3xMfqrIu/KZ90bhjeQSmxSE3eh 7XhdC9BObc1c59is8qw4Wt2TA4UYv9TLM7V1H6ZLxEOroy08N0m7NM+G+dUbJTHEk5uquE/x wF6YAjSD6wYWza40ezi8SW1fmPa1w+3tTfn0CaCVqOTrNurauNO7Qyqn4PRujphSxifmkE01 Kj/GXPL8mbiGFJYqwwCk0MG1XAM8RnX5QpEnp92iclRKwdq5MgjVn6umtgYf/4YFoFmgEAbt eSO+Z206GVuN9Vr/fuhk7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Ko/Hm3HnLi9fls+zY4HJvp7Vj8YC44yJq67ajSfVF6txo1T564R++Yk9 C8SirG1N1r8iESwvIJLX5Ae/blyVaoD1Lvpbg5SUN8hujMwgYuG9g17D/YiHp63VtSIgzlZd ecAQxxSbT+rc9YBWxGpNrMfLtHaQComQhtfbSt2g1W9ziFTN7YcZFdyotYZRnBnkPsisETNh KWRLAn71cTjkD3lWYYGntvtOHaBM7Lop9s9Tc2sA9vI4GrS71N/knxwXy/KvHYI0Up2P1tyq RPHj4ZToCtaMxG3txmixtuX89beaUxxb/98rRFfmenKcSLAZiq/Evy8Vp8w9Hj7VB9PNP00C iDE5bJ6hg8aIgKvmOvIPd3gQMPE3KjJ+qPavzPuC+tkUJf8I8EW4DJk5zHaDxteclCM2zdWz nesCnDaLxigzYLh6nAewWXjZO+2FC/3AdCyA44M+4C/WVtjsOtIgAg39cRhFIwPczFu2nNqz Nktsl1No/VvIKkq64Q12Yera1eU+YgWsj3RcBsZVJ0MtZ86yObUv/S8FNTGaZFOz4DrePzPX 4nqCtQczbdk51zdPQjwb+eHzbbS6ad9F61GPZ5DitrmrhJOSiidgicAHbGpmbq4r8iQ5qZI= Subject: [iw] [patch] Please support CPPFLAGS in Makefile Message-ID: <2024dc2e-fb2d-2866-141e-78044d3ccba2@ninthfloor.org> Date: Thu, 8 Nov 2018 21:23:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Dear linux-wireless, The attached patch adds support for CPPFLAGS to iw's Makefile. I am not subscribed to the list, please Cc: me in replies. Paride Signed-off-by: Paride Legovini From f672e0f8690b7f38d29d83b29f2374787694c31e Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Thu, 8 Nov 2018 21:19:20 +0100 Subject: [PATCH] Honor CPPFLAGS when compiling --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 75ae989..9a6c25a 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,7 @@ version.c: version.sh $(patsubst %.o,%.c,$(VERSION_OBJS)) nl80211.h iw.h Makefil %.o: %.c iw.h nl80211.h @$(NQ) ' CC ' $@ - $(Q)$(CC) $(CFLAGS) -c -o $@ $< + $(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< ifeq ($(IW_ANDROID_BUILD),) iw: $(OBJS) -- 2.19.1