packages/net/wpa_supplicant/patches/102-opt_cflags.patch
groz 8c19f7a77f port wpa_supplicant to buildroot-ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-21 10:59:08 +00:00

13 lines
315 B
Diff

--- 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