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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2013-05-02 21:09:03 +00:00
parent a7a05ee70c
commit 2900535e65
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