[PATCH] Use LDFLAGS when linking hostapd terminal object
Philip A. Prindeville
philipp_subx at redfish-solutions.com
Tue Feb 2 17:44:42 EST 2010
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
> hostapd_cli: $(OBJS_c)
More information about the HostAP