switching CFLAGS to O2
authorJavier S. Pedro <javier@javispedro.com>
Sun, 23 Aug 2009 00:21:29 +0000 (02:21 +0200)
committerJavier S. Pedro <javier@javispedro.com>
Sun, 23 Aug 2009 00:21:29 +0000 (02:21 +0200)
Makefile
debian/rules

index 18621f4..6183a8f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ CPPFLAGS := -I. $(shell sdl-config --cflags) $(shell pkg-config --cflags x11 xsp
 LDLIBS := -lz $(shell sdl-config --libs) $(shell pkg-config --libs x11 xsp) -lpopt -lhgw
 
 # Default CFLAGS for building in N8x0
-CFLAGS ?= -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -Os -g -Wall -static-libgcc -fno-omit-frame-pointer
+CFLAGS ?= -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp -O2 -g -Wall -static-libgcc
 ASFLAGS ?= -march=armv6j -mfpu=vfp -mfloat-abi=softfp -g
 CXXFLAGS ?= $(CFLAGS)
 
index 2e95bc6..385b377 100755 (executable)
@@ -24,7 +24,7 @@ CONFOPTS =
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else ifneq (,$(findstring arm,$(DEB_BUILD_GNU_TYPE)))
-       CFLAGS += -Os
+       CFLAGS += -O2
        ifneq (,$(findstring vfp,$(DEB_BUILD_OPTIONS)))
                CFLAGS += -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp
        endif