summaryrefslogtreecommitdiff
path: root/package/wpa_supplicant/patches/102-opt_cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/wpa_supplicant/patches/102-opt_cflags.patch')
-rw-r--r--package/wpa_supplicant/patches/102-opt_cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/wpa_supplicant/patches/102-opt_cflags.patch b/package/wpa_supplicant/patches/102-opt_cflags.patch
new file mode 100644
index 0000000000..ec38b733e9
--- /dev/null
+++ b/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