summaryrefslogtreecommitdiffstats
path: root/openwrt/package/wpa_supplicant/patches/101-ldflags.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-23 12:22:13 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-23 12:22:13 +0000
commit6889d835572a0087f17aefe8b5a4a4cd4d94d349 (patch)
tree88ed683e792e8b40202c588a6e5fbae1a6ac3b9e /openwrt/package/wpa_supplicant/patches/101-ldflags.patch
parent88e1c410c38ccc14564fd403329945529ca3a2fe (diff)
update wpa_supplicant to latest development release (v0.4.5),
add drivers for hostap, madwifi and generic wext. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/wpa_supplicant/patches/101-ldflags.patch')
-rw-r--r--openwrt/package/wpa_supplicant/patches/101-ldflags.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/openwrt/package/wpa_supplicant/patches/101-ldflags.patch b/openwrt/package/wpa_supplicant/patches/101-ldflags.patch
new file mode 100644
index 000000000..b8b6f6661
--- /dev/null
+++ b/openwrt/package/wpa_supplicant/patches/101-ldflags.patch
@@ -0,0 +1,24 @@
+--- wpa_supplicant-0.3.8/Makefile.orig 2005-05-22 12:37:28.000000000 +0200
++++ wpa_supplicant-0.3.8/Makefile 2005-05-22 12:40:04.000000000 +0200
+@@ -304,7 +304,7 @@
+ OBJS += wpa_supplicant.o wpa.o l2_packet.o drivers.o
+
+ wpa_supplicant: .config $(OBJS)
+- $(CC) -o wpa_supplicant $(OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o wpa_supplicant $(OBJS) $(LIBS)
+
+ eapol_test: .config $(OBJS_t)
+ $(CC) -o eapol_test $(OBJS_t) $(LIBS)
+@@ -313,10 +313,10 @@
+ $(CC) -o preauth_test $(OBJS_t2) $(LIBS)
+
+ wpa_passphrase: $(OBJS_p)
+- $(CC) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
++ $(CC) $(LDFLAGS) -o wpa_passphrase $(OBJS_p) $(LIBS_p)
+
+ wpa_cli: $(OBJS_c)
+- $(CC) -o wpa_cli $(OBJS_c) $(LIBS_c)
++ $(CC) $(LDFLAGS) -o wpa_cli $(OBJS_c) $(LIBS_c)
+
+ win_if_list: win_if_list.c
+ $(CC) -o $@ win_if_list.c $(CFLAGS) $(LIBS_w)