[builtins] Don't always use -ffreestanding when compiling builtins

This can break on some sysroots. Let the user define it if necessary.

llvm-svn: 279496
This commit is contained in:
Francis Ricci 2016-08-23 00:49:03 +00:00
parent ce2163459f
commit f9153eb305
1 changed files with 0 additions and 1 deletions

View File

@ -433,7 +433,6 @@ else ()
if(NOT COMPILER_RT_DEBUG)
append_list_if(COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -fomit-frame-pointer BUILTIN_CFLAGS)
endif()
append_list_if(COMPILER_RT_HAS_FREESTANDING_FLAG -ffreestanding BUILTIN_CFLAGS)
endif()
foreach (arch ${BUILTIN_SUPPORTED_ARCH})