[compiler-rt] r276333 - Enable cross-compilation across architectures on android
Francis Ricci via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 21 14:05:14 PDT 2016
Author: fjricci
Date: Thu Jul 21 16:05:14 2016
New Revision: 276333
URL: http://llvm.org/viewvc/llvm-project?rev=276333&view=rev
Log:
Enable cross-compilation across architectures on android
Summary:
This patch fixes cross-architecture compilation,
by allowing flags like -target and --sysroot to be set for
architecture testing and compilation.
Reviewers: tberghammer, srhines, danalbert, beanz, compnerd
Subscribers: tberghammer, llvm-commits, danalbert
Differential Revision: https://reviews.llvm.org/D22415
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=276333&r1=276332&r2=276333&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Thu Jul 21 16:05:14 2016
@@ -413,7 +413,7 @@ else ()
STATIC
ARCHS ${arch}
SOURCES ${${arch}_SOURCES}
- CFLAGS ${maybe_stdc99}
+ CFLAGS ${maybe_stdc99} ${CMAKE_C_FLAGS}
PARENT_TARGET builtins)
endif ()
endforeach ()
More information about the llvm-commits
mailing list