From: Bill Wendling Date: Thu, 2 May 2013 21:09:11 +0000 (+0000) Subject: We don't want FP elimination when doing an Apple-style build. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=497a4ebe66280827a9d870c6fb9001d27aee165b;p=clang 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 --- 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