[PATCH] Use LDFLAGS when linking hostapd terminal object

Bjarke Istrup Pedersen gurli
Tue Feb 2 15:28:35 PST 2010


Ahh, you are right.

The patch has only been submitted to the 0.7 branch.

You can download it from here and see if it fixes it for you:
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=466940c55e101fd9d8c4b813361d2d90c11006ee

The two patches (wpa-supplicant and hostapd) should be merged into the
stable branch too if you ask me :-)

2010/2/2 Philip A. Prindeville <philipp_subx at redfish-solutions.com>

> Well, they might be inherited from the environment, but they aren't being
> used in any of the rules.
>
>
> On 02/02/2010 02:32 PM, Bjarke Istrup Pedersen wrote:
> > Are you sure they aren't being read from the environment?
> >
> > I submitted a patch some months ago, that added support for LDFLAGS, so
> > they should be working by now...
> >
> > 2010/2/2 Philip A. Prindeville <philipp_subx at redfish-solutions.com
> > <mailto:philipp_subx at redfish-solutions.com>>
> >
> >     LDFLAGS (which are frequently essential to cross-compilation) aren't
> >     being used when doing hostapd's terminal link.
> >
> >     --- hostapd-0.6.10/hostapd/Makefile.orig        2010-01-12
> >     06:55:02.000000000 -0800
> >     +++ hostapd-0.6.10/hostapd/Makefile     2010-01-31
> >     21:09:47.000000000 -0800
> >     @@ -580,7 +580,7 @@ install: all
> >            for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
> >      hostapd: $(OBJS)
> >     -       $(CC) -o hostapd $(OBJS) $(LIBS)
> >     +       $(CC) -o hostapd $(OBJS) $(LDFLAGS) $(LIBS)
> >      OBJS_c = hostapd_cli.o ../src/common/wpa_ctrl.o
> >     ../src/utils/os_$(CONFIG_OS).o
> >      hostapd_cli: $(OBJS_c)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20100203/0adb4f04/attachment.htm 



More information about the Hostap mailing list