[PATCH] Use LDFLAGS when linking hostapd terminal object

Philip A. Prindeville philipp_subx
Tue Feb 2 15:33:36 PST 2010


Yes, I concur.

On 02/02/2010 03:28 PM, Bjarke Istrup Pedersen wrote:
> 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
> <mailto: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>
>     > <mailto: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)
> 
> 




More information about the Hostap mailing list