aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-05-02 21:09:11 +0000
committerBill Wendling <isanbard@gmail.com>2013-05-02 21:09:11 +0000
commit497a4ebe66280827a9d870c6fb9001d27aee165b (patch)
tree7c32f9ab032f95b080d86ecfca9e2538a70100eb /tools
parent4b75085f5669efc6407c662b5686361624c3ff2f (diff)
We don't want FP elimination when doing an Apple-style build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/libclang/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/Makefile b/tools/libclang/Makefile
index f33f345f94..776170d575 100644
--- a/tools/libclang/Makefile
+++ b/tools/libclang/Makefile
@@ -59,6 +59,6 @@ ifeq ($(HOST_OS),Darwin)
# If we're doing an Apple-style build, add the LTO object path.
ifeq ($(RC_XBS),YES)
TempFile := $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
- LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile)
+ LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(TempFile) -Wl,-mllvm,-disable-fp-elim
endif
endif