forked from OSchip/llvm-project
<rdar://problem/9145073> use -Os for release builds
llvm-svn: 127767
This commit is contained in:
parent
ac106273d4
commit
371d881758
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue