[PATCH 2/2] Avoid undefined references with CONFIG_WPA_TRACE_BFD set
Thu Feb 20 06:54:39 PST 2014
Yes, there's another patch, it got stuck because the message is too long:
Your mail to 'HostAP' with the subject
[PATCH 1/2] Improve hostapd and wpa_supplicant CFLAGS handling
Is being held until the list moderator can review it for approval.
The reason it is being held:
Message body is too big: 41323 bytes with a limit of 25 KB
I chaged all "CFLAGS +=..." to "override CFLAGS +=..." to allow passing a
CFLAGS variable through command line, without discarding assignments made
I don't knkow if this is the best approach, but I need something like this
to build hostapd and wpa_supplicant in my system (arch linux).
I can always edit the makefile and insert the search paths, but this patch
makes possible to inform them in the make command line.
2014-02-20 10:28 GMT-04:00 Jouni Malinen <j at w1.fi>:
> On Wed, Feb 19, 2014 at 03:46:11PM -0400, Roger Zanoni wrote:
> > libdl, libberty and libzlib are dependencies for libbfd.
> Thanks, applied. Was there supposed to be a patch 1/2 as well?
> > diff --git a/hostapd/Makefile b/hostapd/Makefile
> > @@ -78,9 +78,9 @@ LDFLAGS += -rdynamic
> > override CFLAGS += -funwind-tables
> > ifdef CONFIG_WPA_TRACE_BFD
> > override CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD
> > -LIBS += -lbfd
> These "override " parts for CFLAGS do not exist in hostap.git, so I'm
> assuming something is missing before this patch. Anyway, I did apply
> this as-is with those conflicts resolved manually.
> Jouni Malinen PGP id EFC895FA
> HostAP mailing list
> HostAP at lists.shmoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Hostap