aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2022-01-07 16:34:38 -0800
committerYuanfang Chen <yuanfang.chen@sony.com>2022-01-07 16:34:56 -0800
commitd6d3000a2f6d88ac73e5d4da4005ceadec788a9a (patch)
tree1ce69c30727d776db1442dd17c1fca66653baaec /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent69c8e64ba6be090d25657ca0fc2bc53797907837 (diff)
downloadllvm-d6d3000a2f6d88ac73e5d4da4005ceadec788a9a.zip
llvm-d6d3000a2f6d88ac73e5d4da4005ceadec788a9a.tar.gz
llvm-d6d3000a2f6d88ac73e5d4da4005ceadec788a9a.tar.bz2
[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 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions