forked from OSchip/llvm-project
[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:
parent
ce2163459f
commit
f9153eb305
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue