wpa-supplicant: Enable EXTRA_CFLAGS
Even if we define EXTRA_CFLAGS, but it never work, since the source codes donot refer it, and CFLAGS is given a fixed value. (From OE-Core rev: 4a7b5963a9d18924ae0564119f4edeefaca6b415) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9458d72dab
commit
35447ea72a
|
@ -40,6 +40,7 @@ export BINDIR = "${sbindir}"
|
|||
|
||||
do_compile () {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS
|
||||
sed -e "s:CFLAGS\ =.*:& \$(EXTRA_CFLAGS):g" -i ${S}/src/lib.rules
|
||||
oe_runmake -C wpa_supplicant
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue