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
From f672e0f8690b7f38d29d83b29f2374787694c31e Mon Sep 17 00:00:00 2001 From: Paride Legovini <pl@xxxxxxxxxxxxxx> 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