[PATCH] D40947: [cmake] Make setting of CMAKE_C(XX)_COMPILER flags overridable for cross-builds
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 07:14:51 PST 2017
hintonda added inline comments.
================
Comment at: cmake/modules/CrossCompile.cmake:11
+ set(CROSS_TOOLCHAIN_FLAGS_INIT
+ -DCMAKE_TOOLCHAIN_FILE=\"${LLVM_MAIN_SRC_DIR}/cmake/platforms/${toolchain}.cmake\")
+ else()
----------------
Will the toolchain file always set the compiler? Any way to guarantee that?
https://reviews.llvm.org/D40947
More information about the llvm-commits
mailing list