summaryrefslogtreecommitdiffstats
path: root/openwrt/package/wpa_supplicant/patches/opt_cflags.patch
blob: ec38b733e9b57d37f8a9d7e0036dec2f147fdf3b (plain)
1
2
3
4
5
6
7
8
9
10
11
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