<rdar://problem/9145073> use -Os for release builds

llvm-svn: 127767
This commit is contained in:
Nick Kledzik 2011-03-16 22:23:24 +00:00
parent ac106273d4
commit 371d881758
1 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ ifeq (,$(SDKROOT))
LD_OTHER_FLAGS = LD_OTHER_FLAGS =
else else
INSTALL_TARGET = install-iOS INSTALL_TARGET = install-iOS
CFLAGS.Release.armv6 := $(CFLAGS) -isysroot $(SDKROOT) CFLAGS.Release.armv6 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -isysroot $(SDKROOT)
CFLAGS.Release.armv7 := $(CFLAGS) -isysroot $(SDKROOT) CFLAGS.Release.armv7 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -isysroot $(SDKROOT)
CFLAGS.Static.armv6 := $(CFLAGS) -isysroot $(SDKROOT) CFLAGS.Static.armv6 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -isysroot $(SDKROOT)
CFLAGS.Static.armv7 := $(CFLAGS) -isysroot $(SDKROOT) CFLAGS.Static.armv7 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -isysroot $(SDKROOT)
LD_OTHER_FLAGS = -Wl,-alias_list,$(SRCROOT)/lib/arm/softfloat-alias.list -isysroot $(SDKROOT) LD_OTHER_FLAGS = -Wl,-alias_list,$(SRCROOT)/lib/arm/softfloat-alias.list -isysroot $(SDKROOT)
endif endif