More stuff
[oweals/busybox.git] / Makefile
index 6c36b8fa49d1c6807d1316f6d2d83bc88f543510..4b05075f9abc5695920cac8c4bc7a12777f24190 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ ifeq ($(DODEBUG),true)
     STRIP=
     LDFLAGS=
 else
-    CFLAGS=-Wall -O2 -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
+    CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
     LDFLAGS= -s
     STRIP= strip --remove-section=.note --remove-section=.comment busybox
 endif
@@ -41,7 +41,7 @@ links:
        - ./busybox.mkll | sort >busybox.links
        
 clean:
-       - rm -f busybox busybox.links *~ *.o 
+       - rm -f busybox busybox.links *~ *.o core 
 
 distclean: clean
        - rm -f busybox