aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat/Wasm.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-10-13 16:05:00 +0200
committerRaphael Isemann <teemperor@gmail.com>2020-10-13 16:05:21 +0200
commit6b7a49bb43d58c2c08fddb9f6c538ee52806de0a (patch)
treeb525e86dde18b149a40c17ccdbf48b42f3038758 /llvm/lib/BinaryFormat/Wasm.cpp
parent777df5c93da893819e9586949531ba9aaec97e1f (diff)
downloadllvm-6b7a49bb43d58c2c08fddb9f6c538ee52806de0a.zip
llvm-6b7a49bb43d58c2c08fddb9f6c538ee52806de0a.tar.gz
llvm-6b7a49bb43d58c2c08fddb9f6c538ee52806de0a.tar.bz2
Fix all the CMake code that can only handle -stdlib= but not --stdlib=
There are several places in LLVM's CMake setup that try to remove the `stdlib=...` flag from the CMake flags. All this code however only considered the `-stdlib=` variant of the flag but not the alternative spelling with a double dash. This causes that when one adds `--stdlib=...` to the user-provided CMake flags that this gets transformed into just `-` which ends up causing the build system to think it should read the source from stdin (which then lead to very confusing build errors). This just adds the alternative spelling before the`-stdlib=` variant in all these places Reviewed By: ldionne Differential Revision: https://reviews.llvm.org/D87133
Diffstat (limited to 'llvm/lib/BinaryFormat/Wasm.cpp')
0 files changed, 0 insertions, 0 deletions