[compiler-rt] r213684 - Include assembly files in builtins library build
Renato Golin
renato.golin at linaro.org
Tue Jul 22 13:59:38 PDT 2014
Author: rengolin
Date: Tue Jul 22 15:59:38 2014
New Revision: 213684
URL: http://llvm.org/viewvc/llvm-project?rev=213684&view=rev
Log:
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
Modified:
compiler-rt/trunk/lib/builtins/CMakeLists.txt
Modified: compiler-rt/trunk/lib/builtins/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/CMakeLists.txt?rev=213684&r1=213683&r2=213684&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Tue Jul 22 15:59:38 2014
@@ -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")
More information about the llvm-commits
mailing list