[PATCH] D38021: [Compiler-rt][MIPS] Fix cross build for XRAY

Dean Michael Berris via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 6 22:20:29 PDT 2017


dberris added a comment.

I'm a little bit confused here.

Are the `CMAKE_C_FLAGS` not included in the `SANITIZER_COMMON_CFLAGS` definition? If not, that's probably the right place to fix this.

Otherwise, I would have thought that instead of using `CMAKE_C_FLAGS`, maybe use `CMAKE_CXX_FLAGS` instead when building for cross-compilation?


https://reviews.llvm.org/D38021





More information about the llvm-commits mailing list