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

Francis Ricci via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 14:12:45 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL276333: Enable cross-compilation across architectures on android (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D22415?vs=64165&id=64961#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D22415

Files:
  compiler-rt/trunk/lib/builtins/CMakeLists.txt

Index: compiler-rt/trunk/lib/builtins/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt
@@ -413,7 +413,7 @@
                               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.64961.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160721/7b4a1ef7/attachment.bin>


More information about the llvm-commits mailing list