packages/utils/ap51-flash/patches/001-flags.patch
nico 04e89366c0 [packages] add ap51-flash
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-28 16:16:55 +00:00

13 lines
473 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,8 @@ AR = $(CROSS)ar
STRIP = $(CROSS)strip
OBJCOPY = $(CROSS)objcopy
WINDRES = $(CROSS)windres
-CFLAGS = -Wall -ggdb -I. -IWpdPack/Include/ -fno-strict-aliasing -fpack-struct -Os
+OFLAGS = -Os -ggdb
+CFLAGS = -Wall -I. -IWpdPack/Include/ -fno-strict-aliasing -fpack-struct $(OFLAGS)
LIB_OBJS= ap51-flash.o uip.o uip_arp.o timer.o clock-arch.o psock.o packet.o
OBJS = $(LIB_OBJS) main.o
AP51_RC = ap51-flash-res