remove stale madwifi-tools entry from package/Makefile
[openwrt.git] / package / hostapd / patches / 001-cross_compile_fix.patch
1 diff -ruN hostapd-0.3.9-old/Makefile hostapd-0.3.9-new/Makefile
2 --- hostapd-0.3.9-old/Makefile 2005-06-11 05:03:36.000000000 +0200
3 +++ hostapd-0.3.9-new/Makefile 2005-08-14 08:09:52.000000000 +0200
4 @@ -3,7 +3,7 @@
5 DIR_HOSTAP=.
6
7 ifndef CFLAGS
8 -CFLAGS = -MMD -O2 -Wall -g
9 +CFLAGS = -MMD $(OPTFLAGS) $(CPPFLAGS)
10 endif
11
12 # define HOSTAPD_DUMP_STATE to include SIGUSR1 handler for dumping state to
13 @@ -173,7 +173,7 @@
14 for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
15
16 hostapd: $(OBJS)
17 - $(CC) -o hostapd $(OBJS) $(LIBS)
18 + $(CC) -o hostapd $(OBJS) $(LDFLAGS) $(LIBS)
19
20 driver_conf.c: Makefile .config
21 rm -f driver_conf.c
This page took 0.045165 seconds and 5 git commands to generate.