[llvm-commits] [compiler-rt] r123988 - /compiler-rt/trunk/make/platform/clang_darwin.mk
Daniel Dunbar
daniel at zuster.org
Fri Jan 21 10:23:42 PST 2011
Author: ddunbar
Date: Fri Jan 21 12:23:42 2011
New Revision: 123988
URL: http://llvm.org/viewvc/llvm-project?rev=123988&view=rev
Log:
clang_darwin: Build with -fno-builtin, primarily to avoid issues with defining possible builtin functions.
Modified:
compiler-rt/trunk/make/platform/clang_darwin.mk
Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=123988&r1=123987&r2=123988&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Fri Jan 21 12:23:42 2011
@@ -38,7 +38,11 @@
override CC := $(subst -arch ,-arch_,$(CC))
override CC := $(patsubst -arch_%,,$(CC))
-CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
+# Note that although we use -fno-builtin here, the backend may still synthesize
+# calls to runtime functions. Unfortunately, we currently have no way to
+# guarantee that we won't be creating a cycle in the runtime library, aside from
+# explicit runtime testing.
+CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer -fno-builtin
FUNCTIONS.eprintf := eprintf
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
More information about the llvm-commits
mailing list