We don't want FP elimination when doing an Apple-style build.

llvm-svn: 180949
This commit is contained in:
Bill Wendling 2013-05-02 21:09:03 +00:00
parent 9457236bd2
commit 2d8b299dbd
2 changed files with 2 additions and 2 deletions

View File

@ -652,7 +652,7 @@ else
endif
ifeq ($(RC_XBS),YES)
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile)
LD.Flags += -Wl,-object_path_lto -Wl,$(TempFile) -Wl,-mllvm,-disable-fp-elim
endif
endif
endif

View File

@ -54,6 +54,6 @@ ifeq ($(HOST_OS),Darwin)
ifeq ($(RC_XBS),YES)
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
LLVMLibsOptions := $(LLVMLibsOptions) \
-Wl,-object_path_lto -Wl,$(TempFile)
-Wl,-object_path_lto -Wl,$(TempFile) -Wl,-mllvm,-disable-fp-elim
endif
endif