Add a variable to handle extra CFLAGS values
authorRoger Zanoni <roger.zanoni@openbossa.org>
Tue, 25 Feb 2014 19:06:08 +0000 (15:06 -0400)
committerJouni Malinen <j@w1.fi>
Sat, 31 Jan 2015 22:26:17 +0000 (00:26 +0200)
commitb42f539ed20240d1b6f4d5454c528269bb5460cd
treeabb199facb4f18386418d305614661b9e0ccf6fc
parent54f2cae2e68d6e6c4a4367ace8a7b7509ae554df
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>
hostapd/Makefile
wpa_supplicant/Makefile