forked from OSchip/llvm-project
We don't want FP elimination when doing an Apple-style build.
llvm-svn: 180949
This commit is contained in:
parent
9457236bd2
commit
2d8b299dbd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue