summaryrefslogtreecommitdiffstats
path: root/openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch')
-rw-r--r--openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch b/openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch
new file mode 100644
index 000000000..ec38b733e
--- /dev/null
+++ b/openwrt/package/wpa_supplicant/patches/102-opt_cflags.patch
@@ -0,0 +1,12 @@
+--- wpa_supplicant-0.3.8/Makefile.orig 2005-02-14 02:55:47.000000000 +0100
++++ wpa_supplicant-0.3.8/Makefile 2005-05-21 21:06:03.000000000 +0200
+@@ -3,7 +3,8 @@
+ endif
+
+ ifndef CFLAGS
+-CFLAGS = -MMD -O2 -Wall -g
++OPT_FLAGS = -O2 -g
++CFLAGS = -MMD $(OPT_FLAGS) -Wall
+ endif
+
+ # Include directories for CVS version