build c++ sources without rtti
[openwrt.git] / openwrt / 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
22 diff -ruN hostapd-0.3.9-old/driver_madwifi.c hostapd-0.3.9-new/driver_madwifi.c
23 --- hostapd-0.3.9-old/driver_madwifi.c 2005-05-18 05:38:57.000000000 +0200
24 +++ hostapd-0.3.9-new/driver_madwifi.c 2005-08-14 08:23:21.000000000 +0200
25 @@ -24,6 +24,7 @@
26 #include <include/compat.h>
27 #include <net80211/ieee80211.h>
28 #include <net80211/ieee80211_crypto.h>
29 +#include <net80211/_ieee80211.h>
30 #include <net80211/ieee80211_ioctl.h>
31
32 #include <net/if_arp.h>
This page took 0.046967 seconds and 5 git commands to generate.