commit | f646197cb0ba863cda61b9fc2a7432f1ecfe4790 | [log] [tgz] |
---|---|---|
author | Luís Marques <luismarques@lowrisc.org> | Sun Jan 31 23:51:38 2021 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Feb 05 01:19:42 2021 -0800 |
tree | 7560236c4f6d5323a694f9d6d6dd41579f6bb462 | |
parent | dfbc6b8cde42256633ac0e4e6d8b65014fe25ff5 [diff] |
[CMake][compiler-rt][RISCV] Support RISC-V cross-compilation This seems to be a safe way to ensure that the Compiler-RT test compiler flags are properly set in all cross-compilation scenarios. Without this when `BUILTINS_TEST_TARGET_CFLAGS` is set in `compiler-rt/test/builtins/CMakeLists.txt` the other flags are cleared. Differential Revision: https://reviews.llvm.org/D92124 GitOrigin-RevId: 3203c968424193a519d1b52739047748038bb074