04e89366c0
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19360 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
473 B
Diff
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
|