summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2011-03-16 22:23:24 +0000
committerNick Kledzik <kledzik@apple.com>2011-03-16 22:23:24 +0000
commit1ea7a40c373d811250eb59259140453461e50c30 (patch)
treea715152e5980cb70191f2cdd28b2c8db7f862bed
parentee841f4a4aea0739d9a2e19e42593504ed873a78 (diff)
<rdar://problem/9145073> use -Os for release builds
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@127767 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--make/AppleBI.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/AppleBI.mk b/make/AppleBI.mk
index 6f5cdebe2..184c16ad8 100644
--- a/make/AppleBI.mk
+++ b/make/AppleBI.mk
@@ -17,10 +17,10 @@ ifeq (,$(SDKROOT))
LD_OTHER_FLAGS =
else
INSTALL_TARGET = install-iOS
- CFLAGS.Release.armv6 := $(CFLAGS) -isysroot $(SDKROOT)
- CFLAGS.Release.armv7 := $(CFLAGS) -isysroot $(SDKROOT)
- CFLAGS.Static.armv6 := $(CFLAGS) -isysroot $(SDKROOT)
- CFLAGS.Static.armv7 := $(CFLAGS) -isysroot $(SDKROOT)
+ CFLAGS.Release.armv6 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -isysroot $(SDKROOT)
+ CFLAGS.Release.armv7 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -isysroot $(SDKROOT)
+ CFLAGS.Static.armv6 := $(CFLAGS) -Wall -Os -fomit-frame-pointer -g -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)
endif