aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorRoger Zanoni <roger.zanoni@openbossa.org>2014-02-25 19:06:08 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-31 22:26:17 (GMT)
commitb42f539ed20240d1b6f4d5454c528269bb5460cd (patch)
treeabb199facb4f18386418d305614661b9e0ccf6fc /hostapd/Makefile
parent54f2cae2e68d6e6c4a4367ace8a7b7509ae554df (diff)
downloadhostap-b42f539ed20240d1b6f4d5454c528269bb5460cd.zip
hostap-b42f539ed20240d1b6f4d5454c528269bb5460cd.tar.gz
hostap-b42f539ed20240d1b6f4d5454c528269bb5460cd.tar.bz2
Add a variable to handle extra CFLAGS values
Some packages don't install its headers in the default directory (e.g.: In Arch Linux libiberty and libn13 includes are installed) in their own subdirectory under /usr/include) and the build fails trying to find the headers. This patch will allow passing extra CFLAGS values without discarding the assignments made in the Makefile. The CFLAGS values in the Makefile are ignored, if defined directly in the make command line. Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index f30a35d..eace68c 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)