[PATCH] D22415: Enable cross-compilation across architectures on android

Francis Ricci via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 10:43:54 PDT 2016


fjricci updated this revision to Diff 64164.
fjricci added a comment.

Fix CMAKE_C_FLAG spelling


https://reviews.llvm.org/D22415

Files:
  lib/builtins/CMakeLists.txt

Index: lib/builtins/CMakeLists.txt
===================================================================
--- lib/builtins/CMakeLists.txt
+++ lib/builtins/CMakeLists.txt
@@ -407,12 +407,11 @@
           list(REMOVE_ITEM ${arch}_SOURCES ${_cname})
         endif ()
       endforeach ()
-
       add_compiler_rt_runtime(clang_rt.builtins
                               STATIC
                               ARCHS ${arch}
                               SOURCES ${${arch}_SOURCES}
-                              CFLAGS ${maybe_stdc99}
+                              CFLAGS ${maybe_stdc99} ${CMAKE_C_FLAGS}
                               PARENT_TARGET builtins)
     endif ()
   endforeach ()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22415.64164.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160715/5200956c/attachment.bin>


More information about the llvm-commits mailing list