make target selection nicer, choose arch automatically
[openwrt.git] / openwrt / package / wpa_supplicant / patches / 101-ldflags.patch
1 --- wpa_supplicant-0.3.8/Makefile.orig 2005-05-22 12:37:28.000000000 +0200
2 +++ wpa_supplicant-0.3.8/Makefile 2005-05-22 12:40:04.000000000 +0200
3 @@ -304,7 +304,7 @@
4 OBJS += wpa_supplicant.o wpa.o l2_packet.o drivers.o
5
6 wpa_supplicant: .config $(OBJS)
7 - $(CC) -o wpa_supplicant $(OBJS) $(LIBS)
8 + $(CC) $(LDFLAGS) -o wpa_supplicant $(OBJS) $(LIBS)
9
10 eapol_test: .config $(OBJS_t)
11 $(CC) -o eapol_test $(OBJS_t) $(LIBS)
12 @@ -313,10 +313,10 @@
13 $(CC) -o preauth_test $(OBJS_t2) $(LIBS)
14
15 wpa_passphrase: $(OBJS_p)
16 - $(CC) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
17 + $(CC) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
18
19 wpa_cli: $(OBJS_c)
20 - $(CC) -o wpa_cli $(OBJS_c) $(LIBS_c)
21 + $(CC) $(LDFLAGS) -o wpa_cli $(OBJS_c) $(LIBS_c)
22
23 win_if_list: win_if_list.c
24 $(CC) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w)
This page took 0.043587 seconds and 5 git commands to generate.