diff options
| author | Yuanfang Chen <yuanfang.chen@sony.com> | 2022-01-07 16:34:38 -0800 |
|---|---|---|
| committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2022-01-07 16:34:56 -0800 |
| commit | d6d3000a2f6d88ac73e5d4da4005ceadec788a9a (patch) | |
| tree | 1ce69c30727d776db1442dd17c1fca66653baaec /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 69c8e64ba6be090d25657ca0fc2bc53797907837 (diff) | |
[CMake][WinMsvc] Fix user passed compiler/linker flags
Users could pass flags by environment variables like CFLAGS/CXXFLAGS/LDFLAGS
or by using CMAKE_<LANG>_FLAGS_INIT/CMAKE_<t>_LINKER_FLAGS_INIT. So this
toolchain file should append to INIT flags instead. Otherwise, user
flags would be discarded here by assigning to CMAKE_<LANG>_FLAGS
directly.
Reviewed By: smeenai, mstorsjo
Differential Revision: https://reviews.llvm.org/D116709
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
