mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
clang_darwin: Build with -fno-builtin, primarily to avoid issues with defining possible builtin functions.
llvm-svn: 123988
This commit is contained in:
@@ -38,7 +38,11 @@ CC := gcc
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user