diff options
author | Luís Marques <luismarques@lowrisc.org> | 2020-11-24 22:46:38 +0000 |
---|---|---|
committer | Luís Marques <luismarques@lowrisc.org> | 2020-11-24 22:50:28 +0000 |
commit | 28de0fb4863a3cfef06c26260219089123a80c2f (patch) | |
tree | 9225b2f272d9271584dca6803b73ade5e1429973 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0c926e6d245bec176bf2554a9f0bd48ef2276678 (diff) | |
download | llvm-28de0fb4863a3cfef06c26260219089123a80c2f.zip llvm-28de0fb4863a3cfef06c26260219089123a80c2f.tar.gz llvm-28de0fb4863a3cfef06c26260219089123a80c2f.tar.bz2 |
[RISCV] Set __GCC_HAVE_SYNC_COMPARE_AND_SWAP_x defines
The RISCV target did not set the GCC atomic compare and swap defines,
unlike other targets. This broke builds for things like glib on RISCV.
Patch by Kristof Provost (kprovost)
Differential Revision: https://reviews.llvm.org/D91784
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions