summaryrefslogtreecommitdiffstats
path: root/compiler-rt
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
commit371d8817589c825d9df29a4453e6cef639f0b423 (patch)
tree9a9647b9c13ac13aaa38ae76dc3386a5c744127f /compiler-rt
parentac106273d4ff77d259a63e82771aec29ca11ec1a (diff)
downloadbcm5719-llvm-371d8817589c825d9df29a4453e6cef639f0b423.tar.gz
bcm5719-llvm-371d8817589c825d9df29a4453e6cef639f0b423.zip
<rdar://problem/9145073> use -Os for release builds
llvm-svn: 127767
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/make/AppleBI.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/make/AppleBI.mk b/compiler-rt/make/AppleBI.mk
index 6f5cdebe2ee..184c16ad84e 100644
--- a/compiler-rt/make/AppleBI.mk
+++ b/compiler-rt/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
OpenPOWER on IntegriCloud