forked from OSchip/llvm-project
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 llvm-svn: 276333
This commit is contained in:
parent
1558a2f3ee
commit
283d8df277
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue