[PATCH] D126313: [CMake] Don't pass CMAKE_C(XX)_COMPILER to the nested NATIVE build
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 21 12:04:31 PDT 2022
beanz added inline comments.
================
Comment at: llvm/cmake/modules/CrossCompile.cmake:19
+ elseif (CMAKE_CROSSCOMPILING)
+ set(CROSS_TOOLCHAIN_FLAGS_INIT
+ )
----------------
You can omit this, and instead just have `elif( NOT CMAKE_CROSSCOMPILING)`. Variables that aren't initialized are empty.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126313/new/
https://reviews.llvm.org/D126313
More information about the llvm-commits
mailing list