diff options
author | Martin Storsjö <martin@martin.st> | 2020-01-26 22:14:41 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-01-27 09:04:58 +0200 |
commit | b780df052dd2b246a760d00e00f7de9ebdab9d09 (patch) | |
tree | 8d03be938b991593544503526bb0eb7adbd103ae /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 59d690850eebcd0e37f205bde16edbd4f2a54053 (diff) | |
download | llvm-b780df052dd2b246a760d00e00f7de9ebdab9d09.zip llvm-b780df052dd2b246a760d00e00f7de9ebdab9d09.tar.gz llvm-b780df052dd2b246a760d00e00f7de9ebdab9d09.tar.bz2 |
[libunwind] Treat assembly files as C on mingw
When targeting mingw, current CMake (3.16) fails to get the right
flags for assembly source files for windows gnu/clang targets
(see https://gitlab.kitware.com/cmake/cmake/merge_requests/4287
for a fix), causing builds to fail due to `-fPIC` being unsupported
in clang for mingw targets
In the meantime, restore the behaviour from before c48974ffd7d1676
selectively on mingw targets, treating the assembly files as C.
Differential Revision: https://reviews.llvm.org/D73436
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions