forked from OSchip/llvm-project
Include assembly files in builtins library build
The CMake assembler build system ignores the .S assembly files in builtins library build. This patch fixes the issue. Patch by: Sumanth Gundapaneni llvm-svn: 213684
This commit is contained in:
parent
695f0f1024
commit
aad0347c8b
|
@ -251,6 +251,7 @@ add_custom_target(builtins)
|
|||
if (NOT WIN32)
|
||||
foreach(arch x86_64 i386 arm)
|
||||
if(CAN_TARGET_${arch})
|
||||
set_source_files_properties(${${arch}_SOURCES} PROPERTIES LANGUAGE C)
|
||||
add_compiler_rt_runtime(clang_rt.builtins-${arch} ${arch} STATIC
|
||||
SOURCES ${${arch}_SOURCES}
|
||||
CFLAGS "-std=c99")
|
||||
|
|
Loading…
Reference in New Issue