summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-09-20 21:36:30 +0000
committerChris Bieneman <beanz@apple.com>2016-09-20 21:36:30 +0000
commit807c0ae56966984f713293e0a7eed3ca26f9602b (patch)
tree863561dfd7cc237bcc30802312ebae6d72b81d0a /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent8cd7de1d1890d9ade06418694ebf2de9dda20d9d (diff)
downloadbcm5719-llvm-807c0ae56966984f713293e0a7eed3ca26f9602b.tar.gz
bcm5719-llvm-807c0ae56966984f713293e0a7eed3ca26f9602b.zip
[CMake] Explicitly add --target option to compiler flags
Summary: Much of the non-Darwin build system assumes that COMPILER_RT_DEFAULT_TARGET_TRIPLE is the default target triple for the compiler being used. With clang as your compiler this isn't necessarily true. To ensure that the rest of the build system behaves as expected this patch adds "--target=${COMPILER_RT_DEFAULT_TARGET_TRIPLE}" to the compiler flags for C, CXX and ASM sources. Reviewers: compnerd, rengolin, fjricci Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24156 llvm-svn: 282024
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud