aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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