diff --git a/hostapd/Makefile b/hostapd/Makefile index f30a35d54..eace68cd0 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -6,6 +6,7 @@ ifndef CFLAGS CFLAGS = -MMD -O2 -Wall -g endif +CFLAGS += $(EXTRA_CFLAGS) CFLAGS += -I$(abspath ../src) CFLAGS += -I$(abspath ../src/utils) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 35e5d7345..95fbe789b 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -10,6 +10,7 @@ export LIBDIR ?= /usr/local/lib/ export BINDIR ?= /usr/local/sbin/ PKG_CONFIG ?= pkg-config +CFLAGS += $(EXTRA_CFLAGS) CFLAGS += -I$(abspath ../src) CFLAGS += -I$(abspath ../src/utils)