mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user